Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Connectors
Answered

Get the RowID of a new row of a dataverse table

(0) ShareShare
ReportReport
Posted on by 1,294

Hi 

I have a dataverse table which i will call 'Primary'.

 

I have a second table which is called 'secondary'.

 

I add a new record to 'secondary' and I want to relate this record to a record in 'Primary'.

 

Relate Rows 4 parameters :

Table Name - 'Secondary'

RowID of the newly created Record in 'Secondary'

Relationship - yes - I know this

Relate With  - The RowID of the table 'Primary'

 

How do I get the RowID of the newly created record in 'Secondary' ?

 

At the moment it is coming back Blank.  Compose is first(outputs('Secondary')?['body/value'])?['secondaryid']  where secondaryid is the unique value of the newly created record.

 

Thanks

 

Nigel

 

  • v-qiaqi@microsoft.com Profile Picture
    on at
    Re: Get the RowID of a new row of a dataverse table

    Hi @NigelP,

    Glad that you have resolved it.

    Could you please mark your reply as the answer to help more users?

    Thanks for your cooperation.

  • Verified answer
    NPrice99 Profile Picture
    1,294 on at
    Re: Get the RowID of a new row of a dataverse table

    I have found the issue - it was the compose statement - it should be body('<Create Dataverse Row Action>')?['<RowID Field Name>']

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics