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


Error with Set Process Stage on Dynamics 365 (Rel 8.2)


Hi all,

I did not manage to get the "Set process Stage" Plugin working on my onPrem Dynamics 365 (8.2) Deployment., It always through the attached Error.

It seems, that manipulating the Process Stage is no longer possible on Release 8.2.. Did anybody experience the same issue or has successfully deployed it? I assume that the Methode of manipulating the process stage should be changed...

Plugin Trace:

[msdyncrmWorkflowTools: msdyncrmWorkflowTools.Class.SetProcessStage]
[msdyncrmWorkflowTools ( Set Process Stage]

Load CRM Service from context --- OK
[Dynamics.ChangeBPFandPhase.Execute] Process stage: Vermittler Aktiv
[Dynamics.ChangeBPFandPhase.Execute] Fetching the requested Stage.
[Dynamics.ChangeBPFandPhase.Execute] Case tu update Id = 1359445e-0bc4-e511-80da-00155d686404, Name =
[Dynamics.ChangeBPFandPhase.Execute] Updating Case to Update Id = 1359445e-0bc4-e511-80da-00155d686404 Process Id = dbeafb61-0635-4c62-9803-d6779793f7b0 | Process Name = Stage Id = 17f87951-af61-471b-9e43-56c55956c730
[Dynamics.ChangeBPFandPhase.Execute] Error while setting the active BPF. Details: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: Invalid stage transition. Transition to stage Step_55 is not in the process active path. (Fehlerdetail ist gleich Microsoft.Xrm.Sdk.OrganizationServiceFault).

Error Message:

Unhandled Exception: Microsoft.Crm.CrmException: Unexpected exception from plug-in (Execute): msdyncrmWorkflowTools.Class.SetProcessStage: System.AggregateException: Mindestens ein Fehler ist aufgetreten.
bei Microsoft.Crm.Sandbox.SandboxCodeUnit.Execute(IExecutionContext context)
bei Microsoft.Crm.Workflow.Services.ProxyCustomActivity.Execute(CodeActivityContext executionContext)
Closed Feb 11 at 10:35 PM by demian_rasko


demian_rasko wrote Feb 11 at 10:35 PM

wrote Feb 11 at 10:35 PM