cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Rubenfrreis
Regular Visitor

Send Collection specific data to two different flows

Hi all,

 

I wan't to initiate two diferentes requests using PowerApps with one Collection, the best example:

 

FirstNameLastNameRequired
User1somethingYes
User2something2No

 

A button initiate two flows, user1 contains required as "Yes" initiate flow 1, the user that contains "No" initiate flow 2

 

Thank you all

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-xiaochen-msft
Community Support
Community Support

Hi @Rubenfrreis ,

 

Just want to make some supplements to make the solution more perfect.

I assume :

You have two flows, they are Test1 and Test2. 

 

Add a button control and set its onselect property to:

ForAll(YourCollection,If(ThisRecord.Required="Yes",Test1.Run(),ThisRecord.Required="No",Test2.Run()))

 

Best Regards,
Wearsky
If my post helps, then please consider Accept it as the solution to help others. Thanks.

 

View solution in original post

4 REPLIES 4
mrleetyler
Resolver II
Resolver II

just use the condition option. have "Required" = yes ...and one side is yes the other side is everything else ...or "No"

Rubenfrreis
Regular Visitor

Can you exemplify? just a dummy code line, I'm not seeing how to achieve this.

(A button to start to send data to two different flows)

you don't need 2 flows you can just do it all from one

 

here is a video to explain how to use the condition control in power automate
https://www.youtube.com/watch?v=GfWKTd2JiMQ

v-xiaochen-msft
Community Support
Community Support

Hi @Rubenfrreis ,

 

Just want to make some supplements to make the solution more perfect.

I assume :

You have two flows, they are Test1 and Test2. 

 

Add a button control and set its onselect property to:

ForAll(YourCollection,If(ThisRecord.Required="Yes",Test1.Run(),ThisRecord.Required="No",Test2.Run()))

 

Best Regards,
Wearsky
If my post helps, then please consider Accept it as the solution to help others. Thanks.

 

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,582)