web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Answered

using related records in power automate - List Records

(0) ShareShare
ReportReport
Posted on by 85

Hi All,

I'm trying to work out how to correctly reference a look relationship in power automate.

I would like to change the status of child records to match the status of the parent record.

here is what I am using at the moment

pastedimage1608610373974v2.png

Can anyone provide guidance on this.

  • Verified answer
    Community Member Profile Picture
    on at

    Hi partner,

    You can refer my following example flow:

    For example, I have a custom entity named test and it has N:1 relationship with account entity.

    1.add a Trigger ‘when a record is updated’: parent record(Account) status change.

     pastedimage1608617617249v1.png

    2.add ‘List records’ action to list child records(test) that associated the account.

     pastedimage1608619851906v5.png

    For the filter query :

    new_accountid is logic name of the lookup field in test form, and correct format is ‘_new_accountid_value’.

    3.add ‘Update a record’ to update status field of these child records with parents records’ value.

    'Apply to each' action can be added automatically after adding 'update a record' action.

     pastedimage1608619403692v3.png

    4.Test.  

    when i change parent record status to 'inactive', all child records of it will be inactive automatically.

    pastedimage1608619611915v4.png

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

  • Mark TVC Profile Picture
    85 on at

    Thank you.  the only thing I had to do was add space after the account (see my arrow)

    pastedimage1608689436159v1.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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
11manish Profile Picture

11manish 44 Super User 2026 Season 2

#2
Travis South Profile Picture

Travis South 41

#3
Ayesha Wajahat Profile Picture

Ayesha Wajahat 18

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans