cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Field
Level 8

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
Highlighted
SCTdan
Level 8

Re: Dynamic Flow

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

 

Field
Level 8

Re: Dynamic Flow

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
Level 8

Re: Dynamic Flow

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?

Field
Level 8

Re: Dynamic Flow

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. 

Dual Super User
Dual Super User

Re: Dynamic Flow

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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 129 members 5,271 guests
Please welcome our newest community members: