After Rollup 13 deployment, plugin failed to execute SetStateRequest method for activity type custom entity.
Basically, we have a custom entity which is activity type. A plugin is triggered at Create/Post operation of the activity entity. In this plugin, verify a business rule and proceed on some jobs. After that, change the status as Complete by SetStateRequest method.
Up to Rollup 12, we could apply this function properly. But it throws following exception after we upgraded to Rollup 13.
So, we'd like to know if anyone encountering the same problem. We'd like to hear your suggestion.
Thanks in advance.
------------------------------
Exception Detail
------------------------------
Message: An unexpected error occurred.
Source: Microsoft.Crm.Sandbox.WorkerProcess
StackTrace: Server stack trace: at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]: at Microsoft.Crm.Sandbox.SandboxOrganizationService.Execute(String operation, Byte[] serializedRequest) at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
Exception rethrown at [1]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Microsoft.Crm.Sandbox.ISandboxOrganizationService.Execute(String operation, Byte[] serializedRequest) at Microsoft.Crm.Sandbox.SandboxOrganizationServiceWrapper.ExecuteInternal(OrganizationRequest request) at Microsoft.Crm.Sandbox.SandboxOrganizationServiceWrapper.Execute(OrganizationRequest request) at SMSIntegrationPlugin.Utilities.UpdateStatus(Guid id, Int32 statusReason, Int32 stateCode, IOrganizationService svc)