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 / Trigger a Flow from bu...
Power Apps
Unanswered

Trigger a Flow from button

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi 

I have a fairly complicated PowerApp that submits data to various SP lists as the user moves through the app. At the end of the app, the user selects up to people from  SP person columns that need to approve the request. I want to have a button that triggers a flow to send approval requests (with the details of the request) to each of the people selected. I cannot figure out what i am supposed to put in the Onselect for the PowerAppsbutton.Run(                     

I can't use the flow trigger of SP list changed/modified as there are modifications happening to the list as it is constantly updated & there doesn't seem to be anyway of specifying that the flow should only trigger when particular fields are modified 😞

Can anyone help?

 

The PowerApp:

Cym_0-1593046031813.png

 

Here is the flow that i've started:

Cym_1-1593046091400.png

 

Here is the SP List:

Cym_2-1593046159184.png

 

 

Categories:
  • Joel CustomerEffective Profile Picture
    3,224 on at

    try making a collection of the email addresses from the selected people and send the collection to flow using steps like this:

    https://www.bing.com/videos/search?q=pass+objects+to+flow+from+power+apps&docid=607988732623716569&mid=18B8DBC94E20BFDFDC3818B8DBC94E20BFDFDC38&view=detail&FORM=VIRE

     

    You will then need to parse the json using the flow parse json action.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

     

    Hi there,

    Thanks for directing me to this video, but i'm still having trouble. I am trying to use the formula as direct in the video (see below), but i keep getting wiggly lines with the error " invalid number of arguments arguments: received 1, expected 0 - what am i doing wrong??

     

    Cym_0-1593390260630.png

     

  • KrishnaV Profile Picture
    5,023 on at

    Hi @Anonymous ,

     

    Make sure that you are reading values from PowerApp in your flow. Go to flow and select the step where you want to read this connect and say "ask from powerApp".


    I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

    Regards,
    Krishna
    If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Krishna,

     

    Thanks for trying to help. I've done as you suggested, but still no luck:

    Cym_0-1593393462815.png

     

  • KrishnaV Profile Picture
    5,023 on at

    Hi @Anonymous ,

     

    Remove the flow in PowerApp and add it back that should solve your issue.

     


    I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

    Regards,
    Krishna
    If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks for your help, but still doesn't work 😞

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard