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 / Code for passing rowID...
Power Apps
Answered

Code for passing rowID in flow trigger in powerapp

(0) ShareShare
ReportReport
Posted on by 8

I'm not sure what code to write to be able to grab the rowID for the row I'm updating in my app and pass into the flow. This is the incorrect code I have right now...

 

FlowTriggerCode.PNG

 

Here are some more screenshots...

 

ExpenseReportDataverse.PNGrowidflow.PNG

 

Please let me know if you need anymore information, I'd appreciate any help!

 

Thanks

Categories:
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @hansid ,

     

    If you are using form control and submitform() function to update the record, please try to use this formula:

    SubmitForm(form name); Set(var,form name.LastSubmit.cr488_ExpenseReportId)

     

    If you are using patch function, please try this:

    Set(var, Patch(...). cr488_ExpenseReportId)

     

    Then call the flow

    Flow.Run(...,var)

     

    Best Regards,

    Wearsky

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 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard