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 Automate / How to find the GUID o...
Power Automate
Answered

How to find the GUID of a related table row using the name lookup?

(0) ShareShare
ReportReport
Posted on by 76

I have an automated flow running that creates an event booking triggered when a contact field "webform" is populated.  The flow creates the event booking I want created, applying fields from the contact table but I want to link the event booking to the event, which is a separate Dynmaics custom table.  I have the name of the event booked in a text field "webform" in the contact record but am stuggling to find a way to lookup this name field against the Events table and return the GUID of the Event record to write into the event booking lookup field.

 

I beleive I should be using Get Record but struggling to find how to apply this to my (hopefully simple) situation.

 

I know that the event name text field is unique and the same as the event name in the Event table as that is sorted in another process, so no danger of duplicate event names!

 

Can anyone point me in the right direction please?

Categories:
I have the same question (0)
  • VIDIT Profile Picture
    666 on at

    Hi @Nettsales you can filter the events based on the name using fetch XML and then use list row you will also get the event record as well as the Guid as per my understanding.

     

  • Nettsales Profile Picture
    76 on at

    hi @ViditGholam - I can list the rows using FetchXML but then I am struggling to get the GUID from the results to apply to add a new row.

    I also feel I am missing a step as I get "Apply to each" after the list rows even though I have limited the results to 1 row:

    Nettsales_0-1617711312871.png

     

  • VIDIT Profile Picture
    666 on at

    Hi @Nettsales you want the Guid of Events right ??

  • VIDIT Profile Picture
    666 on at

    You should get the guid from the list rows it self 

    Even if it the count is one it will still get you to an apply to each

  • Nettsales Profile Picture
    76 on at

    hi @ViditGholam - correct.  Then I want to add this to a lookup field in the Event booking table

     

  • VIDIT Profile Picture
    666 on at

    hi @Nettsales  user /entity plural name (Record(value))

  • Nettsales Profile Picture
    76 on at

    That is what I thought I needed and had done but I keep getting this error:

    Nettsales_0-1617711941544.png

    Which makes me think I had missed a step somewhere...

  • VIDIT Profile Picture
    666 on at

    your table name might be wrong don't use singular names 

    like generally it is invoice but for lookup it is invoices

  • VIDIT Profile Picture
    666 on at

    use events instead of event and that might work 

    i have got this error 1000 times now😂 and the solution to this is use plural names

  • Verified answer
    VIDIT Profile Picture
    666 on at

    hi @Nettsales check this out

    ViditGholam_0-1617713350698.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 Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard