Hi All,
I was suppose to call a custom workflow from a action. My action executed successfully and when it is trying to trigger custom workflow step it is showing below error.
Sync workflow failed with error message - Unhandled Exception: Microsoft.Crm.Workflow.Services.InvalidCustomActivityExecutionException: Unexpected exception from plug-in (Execute): Method: System.NullReferenceException: Object reference not set to an instance of an object.
at System.Activities.WorkflowApplication.Invoke(Activity activity, IDictionary`2 inputs, WorkflowInstanceExtensionManager extensions, TimeSpan timeout)
at System.Activities.WorkflowInvoker.Invoke(Activity workflow, IDictionary`2 inputs, TimeSpan timeout, WorkflowInstanceExtensionManager extensions)
at Microsoft.Crm.Workflow.SynchronousRuntime.SynchronousWorkflowActivityHost.ExecuteWorkflowUsingInvoker(Activity workflow, ICommonWorkflowContext context)
at Microsoft.Crm.Workflow.SynchronousRuntime.SynchronousWorkflowActivityHost.StartWorkflow(WorkflowActivationData activationData, ICommonWorkflowContext context)
, error code - -2147220891
Some how I understodd that my System.Activities.dll is causing the issue.
My .NET framework 4.6.1
Thanks in advance
*This post is locked for comments
I have the same question (0)