I have setup this solution in our sandbox environment and was able to configure a workflow without issue, however I get the following error from the workflow after I attempt to run it:
Plugin Trace:
[msdyncrmWorkflowTools: msdyncrmWorkflowTools.ShareRecordWithTeam]
[msdyncrmWorkflowTools (1.0.6.0): msdyncrmWorkflowTools.ShareRecordWithTeam]
Load CRM Service from context --- OK
Error Message:
Unhandled Exception: Microsoft.Crm.CrmException: Unexpected exception from plug-in (Execute): msdyncrmWorkflowTools.ShareRecordWithTeam: System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Microsoft.Crm.Sandbox.SandboxCodeUnit.Execute(IExecutionContext context)
at Microsoft.Crm.Workflow.Services.ProxyCustomActivity.Execute(CodeActivityContext executionContext)
Could you tell me what I'm missing? This is using an instance of CRM Online. (not hosted locally)
Plugin Trace:
[msdyncrmWorkflowTools: msdyncrmWorkflowTools.ShareRecordWithTeam]
[msdyncrmWorkflowTools (1.0.6.0): msdyncrmWorkflowTools.ShareRecordWithTeam]
Load CRM Service from context --- OK
Error Message:
Unhandled Exception: Microsoft.Crm.CrmException: Unexpected exception from plug-in (Execute): msdyncrmWorkflowTools.ShareRecordWithTeam: System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Microsoft.Crm.Sandbox.SandboxCodeUnit.Execute(IExecutionContext context)
at Microsoft.Crm.Workflow.Services.ProxyCustomActivity.Execute(CodeActivityContext executionContext)
Could you tell me what I'm missing? This is using an instance of CRM Online. (not hosted locally)