Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

move to next stage on Business process flow based on a field using JavaScript

Posted on by 160

Hi,

I want to move to the next step on Business process flow on an custom entity once I change a value on an option-set field on the form.

My OptionSet field has four value and once one of them is selected, the step on BPF should be changed.

Could somebody help me how can i implement it using JavaScript?

Thanks!

Best Regards

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: move to next stage on Business process flow based on a field using JavaScript

    Hi Elpibato,

    Or you can create a Workflow for the Business Process Flow entity record to change the Active Stage when OptionSet field on the form.

    Set Business Process Flow stage automatically with workflow - Dynamics 365 - Selim Karadayı (selimkaradayi.com)

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

  • necsa Profile Picture
    necsa 3,455 on at
  • Elpibato Profile Picture
    Elpibato 160 on at
    RE: move to next stage on Business process flow based on a field using JavaScript

    Thank you for your suggestion.

    it doesn't work for me.

    Do you know how can I implement it with JavaScript?

    Best Regards

  • Ram Prakash Profile Picture
    Ram Prakash 2,285 on at
    RE: move to next stage on Business process flow based on a field

    Hi Elpibato,

    Try Using Condition step

    pastedimage1629919155454v2.png

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans