
Announcements
Hello guys,
I want to know that I have multiple flows in the power platform which are being used in different applications (Model-driven App & Canvas app). so there is my question for best practice, what approach can I adopt for reusing the flows.
First Approach
Make a shared solution where all flows are being put in, and make a separate solution for putting my canvas app and Model-Driven app.
Second Approach
Make separate solutions for both apps Canvas & Model-Driven App and put the flows in both solutions via copy and paste.
Please guide me
Thanks
Hey @mohsinarif10,
I think the First Approach fits more in line with a modular approach. You may want to consider the Solution topics on the Power Platform, specifically this page which talks about organising layers for modularity (note: it's important you avoid cross-dependencies, it's a nightmare!!). An example of how I have used this approach is for an API which I could not leverage Custom Connectors for. The base solution has only Instant Flows, with no business data, to be used like a 'function' from other solutions.
If each app needs slightly different Flow actions, then you cannot use a base solution for modularity, you will need separate flows in each solution. For example, I have to do this with my "Download to CSV" flow, because my "Create CSV" Action requires non-Dynamic input for each PowerApp I include it in....
I hope this helps point you in the right direction.