This project has moved. For the latest updates, please go here.

Apply Routing Rules, Unexpected exception from plug-in Error

Jan 19 at 3:13 AM
Edited Jan 19 at 3:14 AM
Hi I am having an issue when trying to use your Apply Routing Rules in workflow. The workflow is activated as a process on Case entity, scope organization, and triggers when case is created. It is in Dynamics 365 Update 2.0 standard database with no customizations.

Plugin Trace:

[msdyncrmWorkflowTools: msdyncrmWorkflowTools.ApplyRoutingRule]
[msdyncrmWorkflowTools (1.0.36.0): Apply Routing Rule]

Load CRM Service from context --- OK
ParentObjectTypeCode=112--ParentId=4cc47200-fbdd-e611-941a-000c2901bc06



Error Message:

Unhandled Exception: Microsoft.Crm.CrmException: Unexpected exception from plug-in (Execute): msdyncrmWorkflowTools.ApplyRoutingRule: System.AggregateException: One or more errors occurred.
at Microsoft.Crm.Sandbox.SandboxCodeUnit.Execute(IExecutionContext context)
at Microsoft.Crm.Workflow.Services.ProxyCustomActivity.Execute(CodeActivityContext executionContext)

--Thanks--
Marked as answer by tigergold on 1/18/2017 at 8:18 PM
Jan 19 at 3:22 AM
Nevermind. This is my fault. I forgot to activate my Routing Rule.
Coordinator
Feb 11 at 11:15 AM
Thanks for youe reply ;)

regards!