While working with Business Process Flow in Dynamics 365, one of my colleague faced issue with “Next Stage” button. On clicking “Next Stage” on first stage, user is navigated to second stage but the second stage is not marked as Active. User is required to set it as active manually by clicking “Set Active” button.
Upon checking found that it is a known issue in Dynamics 365. Background workflows related to the entity on which the BPF is configured are causing the issue.
The issue is expected to get resolved by July 2017. For now as a workaround, we are required to deactivate all the workflows related to the entity for which BPF is configured and activate them again. Second workaround is to convert the background workflows to real time workflows.
Details are available at below community link.
But now these kind of requests can be achieved using combination of business process flow and business rule. While creating a Business Rule, we have an option under ‘Field’ to select a ‘Business Process’. This allows two kinds of checks to be performed:
Check for what business process flow is being used.
Check based on field stage (Active/Selected) of business process flow.
Dynamics CRM 2013, BPFs have many beneficial qualities. They are available for out-of-the-box (OOB) and custom entities, can span across multiple entities, you can create multiple BPFs for a particular business process, can be role based, can be included in solutions for export and import, and work in the browser, Outlook Client and Tablets.
A key purpose of a BPF is to guide users through a specific business process to completion.
//Hide Business Process Flow
document.getElementById(‘header_process_d’).style.display = “none”;
//Show Business Process Flow
document.getElementById(‘header_process_d’).style.display = “block”;