Campaignresponse entity create in plugin
- by engcmreng
I wrote plugin that fire on phonecall step is setstatedynamic.
I register post image in step my plugin.I get phonecall entity from postimage.
And When i set phonecallid to origanitingactivityid on campaign response
(
like
campaignResponse.OriginatingActivityId = new EntityReference();
campaignResponse.OriginatingActivityId.LogicalName = PhoneCall.EntityLogicalName;
campaignResponse.OriginatingActivityId.Id = phoneCall.ActivityId.Value;
)
Plugin throws timeout.(I set serviceproxy,Timeout property 30 minutes,its still throw timeout.)
When i dont set originatingactivityid,campaingresponse is created.
Any suggestion about this problem.