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

Notifications

Announcements

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
    153,051 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard