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

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

(0) ShareShare
ReportReport
Posted on by

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

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 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard