Scenario 3

Michael continues to utilize all of the great features of Microsoft Dynamics CRM 2016. Another feature that Michael has utilized is Business Process Flow. He has created two kinds of business processes for lead qualification depending on the budget of the lead, as shown in the following screenshot:

However, every time a lead is created based on the estimated budget, Michael has to manually verify the budget and assign it to the right business process in case the sales representative has made any mistake in assigning the right business process during record creation. Michael wishes to automate the selection of business process flows when a lead is saved the first time, depending on the following factors:

The following steps illustrate how Michael can easily change the out-of-box workflows he created in Scenario 1 to achieve this requirement:

  1. Navigate to Settings | Process and click New Process. Fill the details as shown in the following screenshot and click OK:
  1. On the Create Workflow window, set Scope to Organization and select the checkbox for Record is created:
  1. Next, scroll down to the Create Workflow window, click Add Step, and select the Check condition. Put the comments and click Condition link:
  1. Put the condition for lead budget amount greater than 1 million and click Save and Close:
  1. Select the step under the condition, click Add Step, and pick Perform Action:
  1. Choose the SetProcess option as Action and click on Set Properties:
  1. On the Properties window, set NewProcess to High Budget Business Process and Target to Lead Record. Press Save and Close:
  1. Keep the entire condition selected on the workflow editor window and select the Conditional Branch option on Add Step:
  1. Click the Otherwise Condition, and fill the condition as follows. Click Save and Close:
  1. On the next step for the otherwise condition, select Add Step as Perform Action and then select SetProcess:
  1. Next, select Set Properties. On the Properties window, set NewProcess to Low Budget Business Process and Target to Lead Record. Press Save and Close:
  1. Click Save on the workflow and Activate the workflow:

Go and explore the workflow in action for yourself. It will set the business process flow automatically. Michael is pleased to see this and, now, he doesn't need to worry about whether the correct business process flow is being set, since the system will automatically take care of it.