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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (5,462)