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. If we need staff in any organization to follow same steps and stages to follow with customers, then Business Process Flow will be used. In this article we are going to see a business scenario to provide discount for a customer who took vaccine on contact Entity.
Login to the required environment and go to flows and select Business process flows as shown below figure.
After Step1, click on New and then provide Flow name as Vaccination and choose table as Contact and click on Create as shown in the below figure.
After Step 2, observe Process Name as Vaccination and Primary entity as Contact and owner Field with created user and Category as Business Process Flow , Name as new_vaccination and provide Description as Vaccination process as shown in the below figure.
After Step 3, we are going to use Stage to capture vaccination status from user so that Vaccination Completed status can be captured. So, select default stage and provide and Category as Propose[more default categories are there Qualify,Develop,Propose,Close,Identify,Research,Resolve,Approval] and click on Apply as shown in the below figure.
After Step 4, in BPF Designer select above created Stage and add Data Step and name it as Vaccination Completed and Select Data Field Vaccination Completed and click on Apply as shown in the below figure.
After Step 5, click on created Step and then click on Add + button and then select Add Stage under Flow as shown in the below figure.
After Step 6, now visually one can provide discount manually through BPF. S0, for this provide Stage Display Name as Provide Discount and Category as Approval and Entity as Contact and click on Apply as shown in the below figure.
After Step 7, take a Data step and name it as Discount and Discount field as Data Field and Sequence as 1 and click on Apply as shown in the below figure.
After Step 8, click on validate and then activate process as shown in the below figure.
After Step 9, open existing contact record and you don’t see BPF Enabled for that record so click on Process button from Ribbon and then Switch Process and then select above created flow as shown in the below figure.
After Step 10, Vaccination Business Process Flow will be activated on contact record and click on Vaccinated stage and select Data Step Vaccination Completed as yes and click on Next Stage > and observe that Vaccination Completed field gets populated with yes and moves to next as shown in the below figure.
After Step 11, in Provide Discount stage select Discount Field and provide value as 50 and click on Finish. Post that one can see values Discount and Vaccination Completed were filled as shown in the below figure.
After Step 12, BPF Stage last stage will be shown as Completed and Finished as Status will be observed as shown in the below figure.
- Make sure every stage and data steps are discussed before implementation.
- Validate,Save and Activate BPF without fail.
- Post Creation enable process which is newly created through Contact Record ribbon workbench.
Conclusion: In this way, one can easily establish consistent business process with the help of stages and steps in Business Process Flow in Dynamics CRM.