Introduction
Overview
In this module, you will complete the Order Automation flow by classifying orders according to their total value and routing them through the appropriate review process. You will learn how to configure approvals, stop processing when an order is rejected, and create an invoice in Dataverse when the order is approved. Finally, you will organize the flow in a solution, publish it, and test both the approval and rejection paths.
Why this matters
Classification and review rules help ensure that higher-value orders receive the right level of oversight while smaller orders continue without unnecessary delays. Automating these decisions creates a consistent approval process and reduces the manual effort required to review orders and create invoices.
Learning outcomes
By the end of this module, you will:
- Route orders through different approval levels based on their total value.
- Stop the flow when an approval request is rejected.
- Create an invoice in Dataverse for an approved order.
- Add the flow to a solution for application lifecycle management.
- Publish and test the flow's approval and rejection paths.
Prerequisites
Make sure you have completed the previous module so that the Order Automation flow calculates the total value of an order and is ready for approval logic.