Hello everyone,
I have a requirement to create a flow that will contain around 20-25 level of approvals that is integrated with SQL.
The workflow process is very similar to a state machine workflow to go back and forth based on the decision taken.
For example: When rejected it goes back one or two-level depends on the scenario to fill in what detail is missing...
In addition, I will have another workflow with the same concept copied from the original one to bypass the 30 days limitation and run beyond that. Because some approvals might take some time to take a decision on.
The flow will have many conditions to check:
- A valid email address before sending the approval card, from a user's table in SQL.
- If he/she already took a decision or not on the same request (flow beyond 30 days).
- Outcome condition to perform an update operation to track the responses.
- Time out configuration for every level (20-25).
For the above I know that I should use:
- Do Until Loop
- Switch - each branch is a state
- Conditions
- Specify where I come from and where I want to go
I don't want to split the process to create many workflows so in total it will be only two:
The original one and the other flow will restart every 30 days.
What do you recommend as best practice to build a good structure for the above workflow?
One more question regarding the licenses:
Power Automate per user plan license will be enough only for the creator of the flow or do I need for every user a license? (The other users that will interact with the flow are around 25 users and just approvers)
Any advice and help will be highly appreciated.
Thank you in advance.