Skip to main content

Notifications

Dynamics 365 general forum

How can I display Business Process Flow values in a Custom Field

Posted on by 45

Hi,

I have created a new custom field stage in Opportunity Entity. I want that field should be updated automatically based on the values of Business Process Flow.

Please suggest how can I achieve it.

Thanks

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How can I display Business Process Flow values in a Custom Field

    Hi,

    In the On-Prem world (at least in CRM 2011), there were Views that I could grab the actual name for statuscode/statecode/etc.. However, based on what I have seen on different Dynamics 365 posts, I will have to use JavaScript or Workflow to grab current Business Process Flow name and insert it into a custom field in order to display actual name rather than GUID. Is there an actual name field somewhere or is JavaScript/Workflow the only option?

    Thanks,

    Joe

  • Verified answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: How can I display Business Process Flow values in a Custom Field

    Hi,

    there is a default field called pipeline phase, see if that field suit your needs or not. that field will update based on stage

  • Ashutosh0902 Profile Picture
    Ashutosh0902 45 on at
    RE: How can I display Business Process Flow values in a Custom Field

    Thanks, But I don't know coding.

    Is it possible to achieve this without writing a code.

    Thanks

    Ashutosh

  • Verified answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: How can I display Business Process Flow values in a Custom Field

    Hi,

    you can use javascript to get the current stage name or ID  and update to your custom field stage.

    docs.microsoft.com/.../getstages

    docs.microsoft.com/.../getid

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

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