In this recent blog (https://blogs.msdn.microsoft.com/crm/2017/07/30/how-to-determine-which-business-process-flow-bpf-instance-is-shown-when-a-record-is-opened-2/) , Shashi Ranjan announces "the ProcessId, StageId, and TraversedPath fields can no longer reliably be used to determine which process is running on a record or as triggers to workflows or other automated tracking. [...]. These field will be deprecated in some future release of Dynamics."
What is not clear is the impact this will have on the opportunity field Pipeline Phase which is populated by the system based on the BPF step and its association with the Stage Category global option set.
Has anyone been close enough to know?
*This post is locked for comments
Hi,
Before you process to below, read this first
if your environment has multiple business process flows and user has the privilege to switch process, i would suggest you not to use it anymore. The impact would be the same as stageid and processid.
DEMO
user 1 create a opporutnity with Lead to Sales bpf and the pipeline phase is 2-Develop.
user 2 switch the process to new process, the pipeline Phase is 1-Qualify.
From user 1 refresh the record and this is what he/she see.
So what you can do?
1. If using JS
- use this method to get the Active Process Stage.
https://msdn.microsoft.com/en-us/library/dn817878.aspx#BKMK_Process
2. if using plugin / workflow / Console Application, use below method to get the current process
but this has a problem, but i am not sure is v9.0 behave the same
3. For Reporting purpose
- No idea.
No I have not
Did you get any answer to this?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156