Building custom solutions that extend, automate, and integrate Microsoft 365 apps.
Business Process Flows (BPFs) can be used with Dataverse and can be accessed programmatically using Dataverse Web API, Power Automate, plug-ins, and client-side APIs. Microsoft documents support creating and managing BPF instances, retrieving the current stage, moving records through existing stages, and updating the status of a process instance.
However, if your requirement is to let users dynamically add or remove stages, add or remove steps (data items), reorder stages, or redesign the process structure directly from a Canvas App, Power Automate flow, plug-in, or Web API at runtime, Microsoft documentation does not describe support for that scenario. BPF definitions are created and maintained through the Business Process Flow Designer, and the documented APIs focus on working with process instances rather than modifying the process definition itself.
Therefore, if you need a fully user-configurable workflow where stages and fields can be added, removed, or rearranged dynamically, a custom solution is generally the better approach. This is typically implemented using Dataverse tables to store stage and step definitions, with custom UI and business logic built in Canvas Apps, Power Automate, plug-ins, or custom code. Standard Business Process Flows are designed for predefined processes, not for runtime redesign by users.
References:
- Business process flows overview - Power Automate | Microsoft Learn
- Work with business process flows using code - Power Automate | Microsoft Learn
I hope this information is helpful.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.