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 Apps
Answered

Powerapps and Flow

(0) ShareShare
ReportReport
Posted on by Microsoft Employee
I am creating a flow for data entry I SharePoint list. The Trigger is a PowerApps form:
1: power apps form has a button that calls a flow on click
2: I am trying to capture name of that trigger button and save it in SharePoint list. 
3: One field in flow is TYPE STRING and its purpose is to capture value/name of that trigger button to store in SharePoint list
4: but when i call flow by clicking this trigger button , it is capturing false/true instead of trigger button name.
 
I understands since this is trigger could be the reason of this boolean value but i need to have a name entry such as X or Y for both buttons Why i cannot figure out. any idea how to get button's name instead of false?
Categories:
I have the same question (0)
  • Verified answer
    v-albai-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    I did a simple test on my side and everything works fine, not sure why you meet a wrong value.

    So here is my flow called PAtest1, I use a Compose action to check the returned value:

    valbaimsft_0-1625206197336.png

    Here is my button:

    valbaimsft_1-1625206238924.png

     

    Here is my result:

    valbaimsft_2-1625206311750.png

    Compare with yours to find the difference.

    Best regards,

    Allen

  • Verified answer
    JamesYumnam Profile Picture
    on at

    Please check if this helps:

    1. Create a button 

    JamesYumnam_0-1625206314189.png

    2. In the flow, initialize your variable where you want to store the Button Text property. Use "Ask in PowerApps"

    JamesYumnam_1-1625206386998.png

    3. In the PowerApps button, attach the flow and on OnSelect write the following code:

    PowerAppsbutton.Run(Button1.Text)

    where PowerAppsbutton is the name of the flow.

    Output:

    When you click on the button, the flow will run and get the name of the trigger button:

    JamesYumnam_2-1625206611931.png

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks a lot. I was missing .text function of button on call. It resolved my issue.

     

     

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 401 Most Valuable Professional

#2
11manish Profile Picture

11manish 201 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard