Announcements
I'm trying to trigger a flow on a button press, but forgot how to write the script. Can someone correct me here please, see the image attached.
If you hover your mouse over the error message, what does it say?
I'm thinking its either that the name of the flow has changed or that you need to add in the required parameters -
Your syntax is correct for a flow with no parameters, assuming the name is correct
does this help?
Yes thanks that's great, it looks like your flow needs to be passed in a Title field:
'flowName'.Run("Your Title Field used in Flow Goes Here")
or
'flowName'.Run(gblYourTitleField)
'flowName'.Run(DataCardValueX.Text)
depending on how you are going to reference that Title field needed by the flow
Thank you for your response, do you mind expanding on where I would find those fields?
Hi @BradStarkey ,
If your flow would need to get some kind of data from Power Apps then you would normally add a "triggerbody" inside flow.
As an example in this flow we are sending an email and getting email address from Power apps. Then your OnSelect property would look like:
'PowerApp->SendEmailV2'.Run("EmailAddress@gmail.com")
Hope this makes sense.
_____________________________________________________________________________________Please give a thumbs up if I resolved your issue! Please click Accept as Solution to close the topic!
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Vish WR 638
Haque 317
WarrenBelz 315 Most Valuable Professional