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
Responsive Resident
Responsive Resident

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. 

Responsive Resident
Responsive Resident

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. 

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
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (7,095)