Hi There,
We're about to start developing a SharePoint app solution for a customer and we're hoping to leverage Power Automate as much as we can for the backend automation.
For some lists in particular we might need to chain off a number of different activities when items are updated and so I was wondering what the best practise is here when it comes to building flows.
Should we create a number of different flows all with the same trigger and split functionality across them, or is it better to keep to one giant flow which does it all? Also assuming we did spit the functionality across flows, is there any way of controlling run order (e.g. flow dependance) or would we need to assume that the flows could trigger in any order and be aware of race conditions?
Any advice anyone could offer would be much appreciated.
Solved! Go to Solution.
HI @OllyL
I have to give you the worse answer possible. "It depends." :).
Here are some things that you can considering while planning for your development, but overall I would always advise the following:
So my opinion is to go short and fast. By separating and isolating things, you'll be able to better deal with maintenance, bugs, and more.
Finally, regarding the race conditions, you can't define how the Flows are triggered or in what order, but you can control them by thinking about the triggers. For example, if you have multiple chances to perform when something happens, put that trigger on one Flow. Then use sub-Flows to deal with the different cases. The Flow will be small and delegates a lot of functionality to other Flows.
It's a super interesting question, but there's a lot here. I hope that more people chime in, but this is all about strategy and how you want to deal with things. Both approaches have tradeoffs, and all I mentioned is my personal opinion.
I hope it helps you!
Cheers
Manuel
------------------------------------------------------------------
If I have answered your question, please mark it as "Accept as Solution." It will help other members find the solution faster. If you like my response, please give it a Thumbs Up. ?
Otherwise, reply to it, and the community will do its best to help you.
HI @OllyL
I have to give you the worse answer possible. "It depends." :).
Here are some things that you can considering while planning for your development, but overall I would always advise the following:
So my opinion is to go short and fast. By separating and isolating things, you'll be able to better deal with maintenance, bugs, and more.
Finally, regarding the race conditions, you can't define how the Flows are triggered or in what order, but you can control them by thinking about the triggers. For example, if you have multiple chances to perform when something happens, put that trigger on one Flow. Then use sub-Flows to deal with the different cases. The Flow will be small and delegates a lot of functionality to other Flows.
It's a super interesting question, but there's a lot here. I hope that more people chime in, but this is all about strategy and how you want to deal with things. Both approaches have tradeoffs, and all I mentioned is my personal opinion.
I hope it helps you!
Cheers
Manuel
------------------------------------------------------------------
If I have answered your question, please mark it as "Accept as Solution." It will help other members find the solution faster. If you like my response, please give it a Thumbs Up. ?
Otherwise, reply to it, and the community will do its best to help you.
Thanks Manuel, I've not got tons of experience with Power Automate so I wasn't familiar with Run Child Flow / Sub Flows but that sounds like a very sensible way to approach it. I'll do some reading!
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
42 | |
17 | |
15 | |
14 | |
13 |
User | Count |
---|---|
75 | |
38 | |
27 | |
20 | |
18 |