cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Field
Helper V
Helper V

Dynamic Flow

Hello,

I want to make an approval flow that when accepted, would send another approval to their boss.

See the following image:

Picture1.png

Let's imagine that the flow starts at "Department 1". The approval should go to "Department 2" and so on. But if the flow started already at "Department 2", it shouldn't start with "Department 1" but instead with "Department 2".

If i do If's and Else, the flow would be gigantic and would take so much time. Is there an easier way to do this?


Thank you

5 REPLIES 5
SCTdan
Continued Contributor
Continued Contributor

How is the approval being initiated?  Form?  How are you going to differentiate if the approval is starting at department 1 or department 2?

 

Hey there, 

 

The approval starts when creating a sharepoint list item. 

They fill out a simple form, and then the approval starts. The flow would differentiate using office 365 information. 

SCTdan
Continued Contributor
Continued Contributor

What kind of info?

If it's the same form, how will it know if it's starting at department 2?  Based on the person submitting?

I really can't say the type of info, but the sharepoint list only has Single Text Lines.

 

And yes, it would be based on the person submiting. 

RezaDorrani
Dual Super User II
Dual Super User II

Hi @Field 

 

The biggest challenge in your Flow approval process would be the Flow run duration period of 30 days

Since you have multi layers of approvals

 

I reocmmend having a look at Serge Luca's pattern for this

https://sergeluca.wordpress.com/2018/11/26/new-flow-state-machine-pattern-with-unlimited-running-tim...

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (74,508)