web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Automatic Branching in process flow

(0) ShareShare
ReportReport
Posted on by 1,540

This is the latest version of Dynamics 365 Online.

I have a BPF that has a conditional branch but it is only switching the stage when the opportunity record is closed and reopened. I thought it would happen automatically.

The criteria for the condition is set by calculations in business rules which appears to be the issue. It's updating the field value correctly but not switching the next stage.

How have others handled this? Is there some javascript I can use on change of the criteria field that triggers the BPF to check the stages?

Thanks,

Chris

*This post is locked for comments

I have the same question (0)
  • Verified answer
    ChrisJC Profile Picture
    1,540 on at
    RE: Automatic Branching in process flow

    Fixed by replacing the field update by business rule with a calculated boolean field. Add this field to the BPF and change the conditional brancing to branch based on it's value.

    Heard back from Microsoft. The reason why the field updated by business rule doesn't work as it could trigger a circular reference so fields updated by BR don't trigger the onChange event which the BPF branching runs from.

  • ChrisJC Profile Picture
    1,540 on at
    RE: Automatic Branching in process flow

    Has anyone else seen this? I have replicated it on two CRMs now.

    When I use the next button it doesn't take it to the correct branch so the previously mentioned javascript won't work.

  • ChrisJC Profile Picture
    1,540 on at
    RE: Automatic Branching in process flow

    Hi Rajkumar,

    Thanks however I don't want to move to the next stage, I just want to show the correct next stage.

    I've just created a test BPF. I have a two-option field that when I switch changes the next stage between "Yes" and "No"

    6507.2.JPG

    When I update this "File Debrief" field via Business Rule it doesn't switch the next stage:

    6507.2.JPG

  • Suggested answer
    Rajkumar Rajaraman Profile Picture
    on at
    RE: Automatic Branching in process flow

    Using JavaScript You can achieve this:

    mscrmonline.wordpress.com/.../how-to-automatically-next-stage-on-business-process-flow

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#2
Christoph Pock Profile Picture

Christoph Pock 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans