web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / In app flow trigger
Power Apps
Answered

In app flow trigger

(0) ShareShare
ReportReport
Posted on by 39

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.

Capture4.PNG
Categories:
I have the same question (0)
  • iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    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

  • BradStarkey Profile Picture
    39 on at

    does this help?

    Capture5.PNG
  • iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    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)

    or

    'flowName'.Run(DataCardValueX.Text)

     

    depending on how you are going to reference that Title field needed by the flow

  • BradStarkey Profile Picture
    39 on at

    Thank you for your response, do you mind expanding on where I would find those fields?

  • Verified answer
    Gochix Profile Picture
    1,937 Moderator on at

    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")

     

    Gochix_0-1661095434294.png

    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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 936

#2
Valantis Profile Picture

Valantis 604

#3
11manish Profile Picture

11manish 518

Last 30 days Overall leaderboard