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 / Add Record > Trigger P...
Power Apps
Answered

Add Record > Trigger Power Automate from App > Get a Row by ID

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a Teams/Power App using Dataverse.

 

I use a form to add a Request, and in the OnSuccess property of the form I am trying to trigger Power Automate, but I cant figure out how to get the right value to pass to Power Automate.

 

The first step of the flow is "Get a Row by ID" and it asks for the rows "globally unique identifier (GUID)".
d-fig1.png
In my Dataverse Table, it says the unique identifier is called "Requests".  This is an auto-generated field, I did not add it.
d-fig2.png

So what I cant figure out is how get this field in Power Apps so that I can pass it through to Power Automate

 

// Send Notification Email
'ANZMPT-NewRequestNotification'.Run("me@mydomain.com",WHAT DO I PUT HERE?);

 

 

I'm not super knowledgeable about data types/field types etc so this a big challenge for me.


I wondered if I had to send the whole record, so I tried First(Filter(Requests,'Request ID' = FormNewRequest.LastSubmit.'Request ID');

Something like FormNewRequest.LastSubmit gives me an error straight away (red squiggly line under code)

Something like FormNewRequest.LastSubmit.crdcb_requestid is not 'available'

I have the same question (0)
  • Verified answer
    ChrisPiasecki Profile Picture
    6,422 Most Valuable Professional on at

    Hi @Anonymous,

     

    No need to pass the entire record, just the ID should work.

     

    In your flow, within the Get a Row by ID action, click into the Row ID field to bring up the Dynamic Content. Select "Ask in PowerApps", which will generate a new parameter with a datatype that matches the Row ID field, which is UniqueIdentifier in this case. Save the flow once done configuring. 

     

    In your form's OnSuccess, set the following formula:

    'ANZMPT-NewRequestNotification'.Run("me@mydomain.com",FormNewRequest.LastSubmit.crdcb_requestid);

     

    In my example below I'm only using 1 parameter and the Account entity (the Account field is the uniqueIdentifier), but illustrates the same idea.

     PowerAppButtonFlow.PNG

     

    LastSubmit.PNG

     

    ---
    Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

  • 365-Assist Profile Picture
    2,324 Moderator on at

    Just a note of caution that the Ask in PowerApps Dynamic Content is NOT available if you are using the PowerApps (V2) Trigger. 

     

    365Assist_0-1643587491145.png

     

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 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard