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.
Solved! Go to Solution.
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 ,
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.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
193 | |
69 | |
49 | |
47 | |
19 |
User | Count |
---|---|
248 | |
126 | |
84 | |
75 | |
74 |