With Dynamics 365 Sales, you can help ensure that users enter data consistently and follow the same steps every time they work with a customer by creating a business process flow. For example, you might want to create a business process flow to have everyone handle customer service requests the same way, or to require that users get approval for an invoice before submitting an order.
License and role requirements
Requirement type
You must have
License
Dynamics 365 Sales Premium, Dynamics 365 Sales Enterprise, or Dynamics 365 Sales Professional More information: Dynamics 365 Sales pricing
Business process flows use the same underlying technology as other processes, but the capabilities that they provide are very different from other features that use processes.
With business process flows, you define a set of stages and steps that are displayed in a control at the top of a form. Each stage contains a group of steps. Each step represents a field where data can be entered. Users advance to the next stage by using the Next Stage button. You can make a step required so that users must enter data for the corresponding field before they can proceed to the next stage. This is called “stage-gating.”
Business process flows appear relatively simple compared to other types of processes. This is because they do not provide any conditional business logic or automation beyond providing a streamlined experience for data entry and controlling entry into stages. However, when you combine them with other processes and customizations, they can play an important role in saving users time, reducing training costs, and increasing user adoption.
Entities available for business process flows
Entities are sets of records. You can use the following entities to create business process flows in Dynamics 365 Sales Professional:
Account
Contact
Invoice
Lead
Opportunity
Quote
You can use the following entities in additional stages added to a business
process flow:
Account
Appointment
Contact
Email
Invoice
Lead
Opportunity
Phone Call
Product
Quote
Task
Team
User
Create a business process flow
Depending on the license you have, select one of the following tabs for more information:
Make sure you have the System Administrator or System Customizer security role or equivalent permissions.
In the site map, select Sales Settings.
Under Customization, select Business Process Flows.
On the Business Process Flows page, select Create New.
Enter a name for your business process flow in the Name field.
The name of the process doesn’t need to be unique, but it should be
meaningful for users who need to choose a process. You can change this later.
In the Entity list, select the entity you want to base the process on.
The entity you select affects the fields available for steps that can be added to the first stage of the process flow. You cannot change this after you save the process.
Select Launch Designer.
The new process is created, and the business-process flow designer opens with a single stage already created for you.
Add stages to your business process flow
If your users will progress from one business stage to another in the process:
Drag a Stage component from the Components tab, and drop it on a + sign in the designer.
To set the properties for a stage, select the stage, and then set the
properties in the Properties tab on the right side of the screen:
Enter a Display Name.
If desired, select a Category for the stage. The category (such as Qualify or Develop) appears as a chevron in the process bar.
You can select from the following categories:
Qualify
Develop
Propose
Close
Identify
Research
Resolve
Approval
Select the Relationship, if applicable. The selections available for Relationship will vary by the entity selected for the stage. In some cases, there are no selections for Relationship.
Enter a relationship when the preceding stage in the process is based on a different entity (record type). We recommend that you select a relationship because of the following benefits:
Relationships often have attribute maps defined that automatically carry over data between records, minimizing data entry.
When a user selects Next Stage on the process bar for a record, any records that use the relationship will be listed in the process flow, which promotes reuse of records in the process. In addition, you can use workflows to automate creation of records so that the user simply selects it, instead of creating one. This further streamlines the process.
When you're done changing properties, select Apply.
Add Data Steps to a stage
To see the Data Steps in a stage, choose Details in the lower-right corner of the stage.
To add more steps, drag the Data Step component to the stage from the Components tab.
Select the step, and then set properties in the Properties tab:
Enter a name for the step.
If you want users to enter data to complete a step, select the appropriate field from the Data Field drop-down list.
Select the Required check box if users must fill in the field to complete the step before moving to the next stage of the process.
If you have more than one Data Step, select the sequence for the step.
Select Apply when you're finished.
Add a branch (condition) to the process
To add a branching condition, drag the Condition component from the Components tab to a + sign between two stages.
Select the condition, and then set properties in the Properties tab.
When you're finished setting properties for the condition, select Apply.
Add a workflow
To invoke a workflow, drag a Workflow component from the
Components tab to a stage or to the Global Workflow item in
the designer. Whether you add a workflow to a stage or to a Global Workflow item depends on the following:
Drag it to a stage when you want to trigger the workflow on entry or exit of the stage. The workflow component must be based on the same primary entity as the stage.
Drag it to the Global Workflow item in the lower-right corner of the designer if you want to trigger the workflow when the process is activated or when the process is archived (when the status changes to Completed or Abandoned). The workflow component must be based on the same primary entity as the process.
Select the workflow, and then set properties in the Properties tab:
Enter a display name.
Select when the workflow should be triggered.
Optionally, in the Workflows box, search for an existing on-demand active workflow that matches the stage entity.
Select Apply when you're finished.
Set process flow order
When you have more than one business process flow for an entity, you’ll need to set which process is automatically assigned to new records.
To set the order:
On the command bar, choose Order Process Flow.
For new records, or records that do not already have a process flow associated with them, the first business process flow that a user has access to is the one that will be used.
Validate and save the business process flow
To validate the business process flow, choose Validate on the command bar. Any errors in the business process flow are highlighted in red. You’ll need to correct them before you can save the business process flow.
To save the process as a draft while you continue to work on it, choose Save on the command bar.
Activate a business process flow
To activate the process and make it available to your users, choose Activate on the command bar.
Edit a business process flow
You can edit existing business process flows, as needed. If your business
processes change, or you just want to make minor modifications, you can simply open the business process flow and change most properties.
Things you can change:
Stages or other components
Properties of existing components
Name
Description
Things you can't change:
Entity on which the process flow is based
System name for the business process flow
Owner
Category
To edit a business process flow:
In the site map, select Sales Settings.
Under Customization, select Business Process Flows.
Select the name of the business process flow you want to edit in the
Process Name column.
Remove a component from your business process flow
Select the component in the designer, and then select Delete at the top of the screen (or press the Delete key).
In the Delete Confirmation dialog box, select OK.
Optionally, select Validate to confirm that the deletion didn’t result in errors in your business process flow.
Select Save to save your changes.
Add components to your business process flow
To add additional stages and modify the properties of the components in your business process flow,
follow the steps about creating a business process flow earlier in this topic.
Create an image of your business process flow
You can easily create an image of your business process flow from within the designer. This can make it easier to share the process flow with others, or to print the process flow. The image is created in Portable Network Graphics (.png) format. Only the design canvas is captured in the image created. It will not capture the command icons or the Components and Properties tabs.
To create the image:
Open the business process flow you want to create an image from, and then choose Snapshot at the top of the screen. The .png file that is created shows up in the lower-left corner of the screen.
Your organization is using a custom app. Check with your administrator for exact steps. The steps described in this article are specific to the out-of-the-box Sales Hub and Sales Professional apps.