Create instant flows in business process flows - Power Automate (2024)

  • Article

You can run an instant flow to automate repetitive tasks, generate documents, track approvals, and more, from inside a stage in a business process.

Add an instant flow as a step in a business process

Let's assume you sell printers and you use the Lead to Opportunity Sales Process to close deals. As part of this process, you’d like to have the team lead review and approve proposals that the sales team puts together in an earlier stage of the business process flow before sharing it with the customer.

To do this, you'll need to do two things:

  1. Build an instant flow that requests review and approval of the proposal from the team.
  2. Add the instant flow as a step in the Lead to Opportunity Sales Process.

Tip

Only solution-aware flows can be added as a step in a business process.

Build an instant flow

  1. In Power Automate, select Solutions in the navigation menu.

  2. Select Default Solution from the list of solutions that appears.

  3. Select the + New menu, and then select Flow from the list that appears.

  4. Search for, and then select the Microsoft Dataverse connector.

  5. Search for, and then select the When a row is selected trigger from the list of Microsoft Dataverse triggers.

  6. Set Environment to Default, and then set Table Name to Lead to Opportunity Sales Process.

  7. Add a text input column for the user to enter the link to the proposal.

    Create instant flows in business process flows - Power Automate (1)

    We'll need information from the business process flow instance to help provide context for the approval request so follow these steps to do this.

  8. Add the Parse JSON action.

  9. Set Content to table by selecting it from the list of dynamic values for the When a row is selected trigger.

  10. Paste the following content into the Schema column.

    { "type": "object", "properties": { "entity": { "type": "object", "properties": { "FlowsWorkflowLogId": { "type": "string" }, "BPFInstanceId": { "type": "string" }, "BPFInstanceEntityName": { "type": "string" }, "BPFDefinitionId": { "type": "string" }, "BPFDefinitionEntityName": { "type": "string" }, "StepId": { "type": "string" }, "BPFDefinitionName": { "type": "string" }, "BPFInstanceName": { "type": "string" }, "BPFFlowStageLocalizedName": { "type": "string" }, "BPFFlowStageEntityName": { "type": "string" }, "BPFFlowStageEntityCollectionName": { "type": "string" }, "BPFFlowStageTableRowID": { "type": "string" }, "BPFActiveStageId": { "type": "string" }, "BPFActiveStageEntityName": { "type": "string" }, "BPFActiveStageLocalizedName": { "type": "string" } } } }}

    Things should look like this now:

    Create instant flows in business process flows - Power Automate (2)

  11. Add the Get row by ID action from the Microsoft Dataverse connector.

  12. Set Table Name to Lead to Opportunity Sales Process, and Row ID to BPFFlowStageTableRowID.

    Create instant flows in business process flows - Power Automate (3)

    Now that we have the data, define the approval process by adding the Start and wait for an approval (V2) action, and then filling in the relevant information. Learn more about approvals if you are not familiar.

    Tip

    • Use the dynamic content picker to add columns from the Get row by ID action to add relevant information to the approval request so that approvers can easily know what the request is about.
    • To provide further context regarding the active stage that the business process is in, add the BPFActiveStageLocalizedName column from the list of dynamic values.

    Your Start and wait for an approval (V2) card might look similar to this one:

    Create instant flows in business process flows - Power Automate (4)

  13. Finally, save the flow and then turn it on.

Add this flow as a step in the Lead to Opportunity Sales Process.

Now that you've created the instant flow, all that's needed is for you to add it to your business process flow.

  1. Open the Lead to Opportunity Sales Process in the business process flow designer.
  2. Drag and drop the Flow Step (Preview) from the list of Components onto the Propose stage.
  3. Next, select the search icon in the Select a Flow column to list all flows that you can added to a business process flow.
  4. Select a cloud flow from the list, and then save your changes by selecting the Apply button at the bottom of the properties pane.
  5. Finally, select the Update button to make this business process flow with its new instant flow step available to your users.

Flow step considerations

The status of your flow step might be Processing even after your flow successfully ran to completion, if you are not writing to the process log. In order to mark a cloud flow step as completed, add the Update a row action of the Microsoft Dataverse connector under the If yes path. Set the Table to Process Logs. Then set Row ID to FlowsWorkflowLogId by picking it from the list of dynamic values. Finally, set Status Value to Succeeded by selecting it from the dropdown.

Note

The user requires read access to the System Jobs table in Dataverse for the status to change from Processing to Completed.

Create instant flows in business process flows - Power Automate (2024)

FAQs

How do you create instant flow in Power Automate? ›

Build an instant flow

Select the + New menu, and then select Flow from the list that appears. Search for, and then select the Microsoft Dataverse connector. Search for, and then select the When a row is selected trigger from the list of Microsoft Dataverse triggers.

What are the limitations of business process flow in Dynamics 365? ›

Limitations on Business Process Flows

A business process flow can have a maximum of 30 stages. Each stage is limited to 30 steps. A business process flow that uses more than one table can include a maximum of five tables. Tables are limited to 10 associated business processes.

What is an example of an instant flow? ›

Instant Flows:

Example: If you want to build an app using Microsoft Power Apps to perform a specific action when the user clicks a button, you need the Power Apps trigger to start this flow.

What are the three types of flows you can create with Power Automate? ›

Power Automate is a service that you can use to automate repetitive tasks to bring efficiencies to any organizations. You can create cloud flows, desktop flows, or business process flows.

What is instant flows in Power Automate? ›

An instant flow is an automated workflow that is triggered immediately by a specific event or action. This type of workflow allows for real-time processing and instant response, making it possible to automate tasks such as sending notifications, updating data, or generating reports as soon as a trigger event occurs.

What is the best way to create a process flow? ›

You can create business process flowcharts or workflow diagrams in five simple steps:
  1. Step 1: Select your type of diagram. ...
  2. Step 2: Determine your start and end points. ...
  3. Step 3: Gather necessary information. ...
  4. Step 4: Eliminate inefficiencies. ...
  5. Step 5: Design your diagram.

What are the disadvantages of business process? ›

Limitations of BPM
  • BPM is business-centric, not customer-centric. BPM doesn't account for the customers' context, needs, preferences, perspectives and intent. ...
  • BPM applies to predictable, linear processes. ...
  • BPM doesn't continually re-evaluate and revise processes as needed. ...
  • BPM doesn't personalize customer communications.
Jul 10, 2023

How many business process flows can be rendered in a form at a time? ›

Multiple business process flows are available per table. Not every user in an organization may follow the same process and different conditions may require that a different process be applied. You can have up to 10 active business process flows per table to provide appropriate processes for different situations.

What are the categories of business process flow? ›

The categories are, Qualify, Develop, Propose, Close, Identify, Research, Resolve, and Approval.

How many flows can I create in Power Automate? ›

My flows limit
NameLimitNotes
Number of flows owned by a single user600Use flows under solutions if you need more than 600.
Apr 9, 2024

How many types of flows are there in Power Automate? ›

In Microsoft Power Automate, you can choose from three types of flows to create: Cloud flows. Desktop flows. Business process flows.

How does Power Automate flow work? ›

Power Automate flows are triggered and executed. The flow is initiated by a trigger, such as receiving an email with an attachment. When a flow is initiated, an activity occurs. The flow will copy and save document attachments of email to OneDrive in this case.

What is the difference between instant flow and automated flow? ›

We've also learned that instant flows won't work unless they're manually triggered, and automated flows won't work instantly unlike instant flows. Again, it's very important to turn off your automated flows if you don't want it to be automatically triggered.

How do you create a Power Automate flow in power apps? ›

Create a new flow
  1. Open a new or an existing app in Power Apps Studio.
  2. On the app authoring menu, select Power Automate.
  3. In the Power Automate pane, select Create new flow.
Feb 7, 2023

References

Top Articles
Latest Posts
Article information

Author: Rev. Leonie Wyman

Last Updated:

Views: 5699

Rating: 4.9 / 5 (59 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Rev. Leonie Wyman

Birthday: 1993-07-01

Address: Suite 763 6272 Lang Bypass, New Xochitlport, VT 72704-3308

Phone: +22014484519944

Job: Banking Officer

Hobby: Sailing, Gaming, Basketball, Calligraphy, Mycology, Astronomy, Juggling

Introduction: My name is Rev. Leonie Wyman, I am a colorful, tasty, splendid, fair, witty, gorgeous, splendid person who loves writing and wants to share my knowledge and understanding with you.