This project has moved and is read-only. For the latest updates, please go here.

Apply Routing Rules, Unexpected exception from plug-in Error

Jan 19 at 4:13 AM
Edited Jan 19 at 4: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 ( Apply Routing Rule]

Load CRM Service from context --- OK

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)

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