Back to Basics # 26: Enhance BPF With Branching in Dynamics CRM

Introduction:

To define and enforce consistent business processes help people using the system can focus on their work and not to perform a set of manual steps. At times based on some conditions we must show or hide stages based on conditions. So here, in this post we see in the same vaccination use case provide discount based on status of Vaccination to the selected contact.

Step 1:

Login to the required environment and go to flows and select Business process flows as shown below figure.

Step 2:

After Step1, click on Vaccination flow and click on edit and go to components and select Condition Component and drag and drop it to Business Process Flow Designer and name it as Validate Vaccination as shown in the below figure.

Step 3:

After Step2, under Rules select Field as Vaccination Completed and operator as Equals and type as Value and select value as Yes and click on Apply as shown in the below figure.

Step 4:

After Step3, under true part of Validate Condition keep the step Provide Discount as shown in the below figure.

Step 5:

After Step 4, under false part of Validate Condition directly connect to Comments Stage which is common for the user to provide comments as shown in the below figure.

Step 6:

After Step 5, click on Update and Validate and Activate BPF as  shown in the below figure.

Step 7:

After Step 6, navigate to dynamics crm instance and then open contact record and then select vaccination completed to yes and observe BPF Stage Discount showed as shown in the below figure.

Step 8:

After Step 7, if user selects vaccination completed to No and observe BPF Stage Discount Stage will be hidden as shown in the below figure.

Note:

  1. Make sure every stage and data steps are discussed before implementation.
  2. Validate,Save and Activate BPF without fail.
  3. Properly arrange connectors so that respective stages flow is represented for the user if conditional branching used.
  4. Microsoft Documentation found here
  5. BPF’s works only in Modern Driven Apps.

Conclusion: In this way, one can easily implement Conditional branching in Business Process Flow in Dynamics CRM.

4 thoughts on “Back to Basics # 26: Enhance BPF With Branching in Dynamics CRM

  1. Pingback: Rewind October 2021 – Common Man Tips for Power Platform, Dynamics CRM,Azure

  2. Pingback: Rewind October 2021 - Microsoft Dynamics CRM Community

  3. Pingback: Back To Basics # : Curated List of Articles in a Single Page – Common Man Tips for Power Platform, Dynamics CRM,Azure

  4. Pingback: Back To Basics :Curated List of Articles in a Single Page - Microsoft Dynamics CRM Community

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s