POWEROBJECTS

718 Washington Ave. N. Suite #101
Minneapolis, MN 55401
View map and all Locations

Send us a message

Are there instances where using the “Switch Processes” is too cumbersome for your users to change Business Process Flows? Well, there are several ways to get this updated, and today’s blog will show you a way to update it using a workflow. This will take on the same type of action on workflow conditions, where a condition is required for this to run.

Change Business Process Flows using a Workflow

Let’s take a look at the Out-Of-The-Box Opportunity Sales Business Process Flow:

We have a secondary Business Process Flow we would much rather use than the one above “Opportunity Sales Process” but we want to achieve this based off of a field value on the Opportunity form. How would one come about doing this?

Let’s lay out the conditions first – On the Opportunity Record, if the field “Purchase Process” equals “Committee” then change the Business Process Flow to the one I have created, which is titled “NEW Opportunity Process.”

Now, onto building this out…

First, create a new workflow that runs off of the Opportunity entity and create the conditions on when this workflow needs to run:

Change Business Process Flows using a Workflow

The example is when the Purchase Process on the Opportunity record equals Committee.

In the row below, select the row, and then select “add step”:

Change Business Process Flows using a Workflow

Then in the dropdown, select “Perform Action”:

Change Business Process Flows using a Workflow

When selecting “Performing Action,” an action condition will display:

Change Business Process Flows using a Workflow

In the Action dropdown, select “SetProcess” – this MUST be selected in order for a Business Process Flow Action can be taken in a workflow.

Then in the Entity dropdown, it will automatically default to “None (global)” – this is NORMAL. Once “Set Properties” is selected, then this window will be where the entity and Business Process Flow will be identified:

In the Set Properties window, there are two values that need to be identified:

  1. NewProcess – this will identify which Business Process Flow will be updated based upon the Workflow conditions that were set up
  2. Target – this is the Entity that will be affected with the Business Process Flow

Remembering the example above, a business process flow of “NEW Opportunity Process” is needed, and the Target is the Opportunity Record:

Change Business Process Flows using a Workflow

Once that information is filled out, save and close. Now, on the Opportunity record, if Purchase Process = Committee, then the Business Process Flow will update to the “NEW Opportunity Process”:

Change Business Process Flows using a Workflow

It is simple as that! A workflow now can change a record’s Business Process Flow.

To learn more about Business Process Flows, check out, How to Update Business Process Flows in Bulk with Dynamics 365.

Happy CRM’ing!

Avatar for JoeCRM

JoeCRM

Joe CRM is a CRM superhero who runs on pure Microsoft Dynamics CRM adrenaline. As the face of PowerObjects, Joe CRM’s mission is to reveal innovative ways to use Dynamics CRM and bring the application to more businesses and organizations around the world.