Campaignresponse entity create in plugin
Posted
by
engcmreng
on Stack Overflow
See other posts from Stack Overflow
or by engcmreng
Published on 2012-06-05T08:53:53Z
Indexed on
2012/06/11
4:40 UTC
Read the original article
Hit count: 325
plugins
|dynamics-crm-2011
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.
© Stack Overflow or respective owner