web
You’re offline. This is a read only version of the page.
close
Skip to main content
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.

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at
    RE: using related records in power automate - List Records

    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
    RE: using related records in power automate - List Records

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 60

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 24 Super User 2025 Season 2

#3
CU29080825-0 Profile Picture

CU29080825-0 16

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans