Hi
We have a plugin that sets/activates a new business process flow based on a certain opportunity attribute:
service.Execute(new Microsoft.Crm.Sdk.Messages.SetProcessRequest() { NewProcess = flow, Target = entity.ToEntityReference() });
However, when the opportunity UI refreshes, the JS method getActiveProcess (Xrm.Page.data.process.getActiveProcess) returns the first active BPF, not the latest activated BPF.
Does anyone have an idea on how to set the BPF server side, and showing it in the UI afterwards?
Kind regards
Kim
*This post is locked for comments