cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Highlighted
Responsive Resident
Responsive Resident

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?

 

Highlighted
Helper V
Helper V

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. 

Highlighted
Responsive Resident
Responsive Resident

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?

Highlighted
Helper V
Helper V

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. 

Highlighted
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
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

Users online (5,163)