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.

 

View solution in original post

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,194)