Can we use Business Process Flow in Code Apps with Full authority of Add or Remove Steps and data items?

Sourabh Kumar 20 Reputation points
2026-07-22T06:27:59.31+00:00

Can I use Business Process Flows in code apps power apps ? I want it fully editable like we can add or remove stages and data items directly through code apps using anything automate flow , plugins or web api ? Is it possible .If Yes then how?

Microsoft 365 and Office | Development | Other
0 comments No comments

Answer accepted by question author

Teddie-D 19,760 Reputation points Microsoft External Staff Moderator
2026-07-22T07:30:08.4766667+00:00

Hi @Sourabh Kumar

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:

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.  

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.