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
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Top Kudoed Authors
Users online (3,311)