Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

StageId ProcessID being deprecated and impact on Pipeline Phase (stepname)

Posted on by 55

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

  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: StageId ProcessID being deprecated and impact on Pipeline Phase (stepname)

    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.

    0257.11.png

    user 2 switch the process to new process, the pipeline Phase is 1-Qualify.

    0257.11.png

    From user 1 refresh the record and this is what he/she see.

    3426.12.png

    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 

    https://msdn.microsoft.com/en-us/library/microsoft.crm.sdk.messages.retrieveprocessinstancesrequest.aspx

    but this has a problem, but i am not sure is v9.0 behave the same

    https://www.facebook.com/groups/21809302488/permalink/10155320990722489/?comment_id=10155322530907489&reply_comment_id=10155323086572489&notif_t=group_comment_mention&notif_id=1502937626584560

    3. For Reporting purpose

    - No idea.

  • RGBeauchemin Profile Picture
    RGBeauchemin 55 on at
    RE: StageId ProcessID being deprecated and impact on Pipeline Phase (stepname)

    No I have not

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: StageId ProcessID being deprecated and impact on Pipeline Phase (stepname)

    Did you get any answer to this?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans