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 / Run Command for Power ...
Power Apps
Unanswered

Run Command for Power Automate

(0) ShareShare
ReportReport
Posted on by 218

Hi, from within an App I wanted to run a flow from the record I am current working in.

 

Step that I have taken.

 

  • Have a working flow (Assessment-CreateReport...)
  • Added a PowerApp flow first step in Power Automate
  • Selecting the icon in PowerApps, I choose "Power Automate" under the Actions menu.
  • It create the command line below with nothing after Run(
  • My main SQL Server table has Audit_ID

'Assessment-CreateReportforQAQC0719200212pmCST'.Run(Don't know what to put in here...)

 

Quick follow-up...

 

I went back in to my flow and removed the "get" rows, etc. from SQL Server.  Once I removed that and went back in I could do a RUN().  Not sure if this will work now.

Categories:
I have the same question (0)
  • mdevaney Profile Picture
    29,991 Moderator on at

    @ez1138 

    You must add PowerApps parameters into the flow before you can pass any values from PowerApps.

     

    Read this full tutorial by Microsoft.  It will teach you anything you need to know.

     

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/using-logic-flows

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

     

     

  • ez1138 Profile Picture
    218 on at

    Thanks for the reply.  I saw that link and maybe I just don’t get it.  If I’m in the PowerApp It pops up Getrow(V2), Row_ID or something like that.  That the piece where I’m pulling “a” row from the SQL table.  Is it pulling what I want?  When I run it from Power Automate and it asks me what row, yes.

     

    What do I enter in after the Run( to select the current row (Audit_ID)?

  • v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @ez1138 ,

     

    Have you got this resolved? If not, I'm happy to help further.

    Could you please share the detailed flow steps?

    The Row ID of GetRow(V2) is the primary key that you defined on the SQL table, so you need to input the Primary key of the record you want to retrieve into corresponding parameter place in Run() code.

    Sik

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard