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 / PowerApps button assoc...
Power Apps
Answered

PowerApps button association with Flow

(0) ShareShare
ReportReport
Posted on by 65

How, to associate button with Flow? But like this in OnSelect property ->

 

Set(varTemp; nameOfTheFlow.Run(editItem).history);;

 

In previous project somehow I've managed to do it(srsly, no idea but it works). But right now I'm clueless.

I've followed steps:

1. Create flow.

2. Select button -> Actions -> PowerAutomate -> Add flow, but it keeps give me an error on wrong number of arguments, 1 instead of 4.

 

Any ideas?

 

//edit

Okkk, I guess it only works when you create flow from scratch Actions -> Power Automate -> Create New Flow, AND the day after flow was created. Amazing XD

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    155,640 Most Valuable Professional on at

    Hi @nottheOther 

    I am not sure from your edited post whether you have fixed this, however I don't believe you are ever able to use a variable to contain a PowerApps command such as a flow run or a control, form, or screen name.

    Unfortunately you have to enter them every time you need to use 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.

  • Verified answer
    nottheOther Profile Picture
    65 on at

    I don't know how but on next day I was able to associate this button. And in "OnSelect" I have

    Set(varTemp; nameOfTheFlow.Run(editItem).history);;

     and it works fine. The only thing is that this flow need to be created from PowerApps button "Create new flow".

    I don't know why it works, but it works.

     

    Cheers 🙂

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 426

#2
WarrenBelz Profile Picture

WarrenBelz 381 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 315 Super User 2026 Season 1

Last 30 days Overall leaderboard