cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
KjoniX
Frequent Visitor

List connected Power Automate flows in Canvas app

I have a canvas app and multiple Power Automate flows. Is it possible to list all flows i my app, for example in an dropdown or gallery? I want user  and logic to choose which flow that should be triggered.

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @KjoniX ,

On the OnChange of the dropdown

Switch(
   Self.Selected.Value,
   "Flow1Text",
   Flow1.Run( . . .),
   "Flow2Text",
   Flow2.Run( . . .)
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

View solution in original post

4 REPLIES 4
WarrenBelz
Super User
Super User

Hi @KjoniX ,

Apart from View > Data Sources (you will see any connected Flows in there), there is no way other than manually coding a drop-down. You would then have top hard-code the Flow required (you cannot dynamically refer to them).

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

 

Ok, let's say that I hardcode one dropdown with all flows and a button to fire. How can I dynamically update onselect part on the button. 

 

Lets say I have two flows

Option value 1 | Flow1.Run()

Option value 2 | Flow 2.Run()

 

A function expression wil not accept a string.

 

Does my question make sense? 

 

(I think I may overthink and the answer is obvious....)

 

 

 

Hi @KjoniX ,

On the OnChange of the dropdown

Switch(
   Self.Selected.Value,
   "Flow1Text",
   Flow1.Run( . . .),
   "Flow2Text",
   Flow2.Run( . . .)
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

Hi @KjoniX ,

Just checking if you got the result you were looking for on this thread. Happy to help further if not.

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (1,398)