Looking for PowerObjects? Don’t worry, you’re in the right place! We’ve been part of HCL for several years, and we’ve now taken the final step in our acquisition journey: moving our website to the HCL domain. Nothing else is changing – we are still fanatically focused on Microsoft Business Applications!

HCLTech Microsoft Business Applications Practice Blog

for Dynamics 365, Power Platform and the rest of the Microsoft technology stack

Using Workflows to Switch Between Business Process Flows Automatically

Post Author: HCLTech |

Business Process Flows are a fantastic way to guide users through the various steps required in a process such as closing a deal, qualifying a lead, or working on a case. Sometimes, however, the process that needs to be followed itself must change. In this blog, we will cover how you can now build a workflow that will allow you to switch between Business Process Flows automatically so that users don't have to make the switch manually in Microsoft Dynamics CRM 2016.

Think of Business Process Flows like a railroad. Once you are on them, they get you where you need to go quickly and efficiently. They even support branching and conditional logic so that within one flow, an agent can go down several paths.

Switch Between Business Process Flows Automatically

There may be situations in which the applicable Business Process Flow must automatically change. This can be done by using the SetProcess action in a workflow.

Here's what you need:

1. More than one Business Process Flow.

2. A Workflow with a triggering condition.

That's it. All the best practices for creating a Workflow apply. In the screenshot below:

Number 1 indicates that we are watching for a specific field change.

Number 2 indicates what field we are watching for specifically.

Number 3 is the SetProcess action.

Switch Between Business Process Flows Automatically

Let's take a look at the steps inside the SetProcess action. There are two fields to fill out for every process, the NewProcess (Number 1 above) and the Target (Number 2). Note that SetProcess is not limited to one entity – one could set the trigger on an Opportunity and have it change the process to a related Account if so desired.

Switch Between Business Process Flows Automatically

To finish, save and close, activate the Workflow, and voila! Users can now switch between Business Process Flows silently and seamlessly. Check out The CRM Book for the best practices around managing processes, and until next time. Happy CRM'ing!

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

One comment on “Using Workflows to Switch Between Business Process Flows Automatically”

  1. Really useful post. A lot of customers are looking for this option. Automatically setting BPF will rule out manual errors while selecting from multiple BPFs. Thank you.

PowerObjects Recommends