Skip to main content
Community site session details

Community site session details

Session Id : FyJ0KeHt6Mm7+cU8lp9XXX
Power Automate - Building Flows
Answered

Having a problem Disassociating an N:N entity

Like (0) ShareShare
ReportReport
Posted on 15 Feb 2023 09:27:01 by

Hi everyone

I've created the simple Flow shown below which blanks out certain fields in my CRM when the Deceased flag of a Contact is changed (this represents the first two steps in the Flow and is working fine).

However, a Contact can have a various Communication Preferences that need Disassociating from the Contact record. They are linked via an N:N relationship. This is the Unrelate rows part of my Flow, and it's this that's causing me an issue. Each Communication Preference may or may not be present, but whatever is present needs Disassociating. Obviously, each different Communication Preferences has it's own GUID.

jonclaylondon_0-1676451947243.png

As you will see, I've out the Communication Preferences table in the first box, input the Relationship between the Contact entity and the Communication Preferences entity. In the Unrelate with box I've put the GUID of the first Communication Preferences that I would like disassociated.

Here's the error that I'm getting which suggests to me that I'm not putting the correct fields in:

jonclaylondon_1-1676453058413.png

So, my questions are:

- Which fields should I be putting in the unrelate section?, and
- How am I able to unrelate several Communication Preferences (should they exist for a particular contact) at the same time?

Many thanks for your help!
Jon

 







  • Verified answer
    v-jefferni Profile Picture
    on 16 Feb 2023 at 06:15:40
    Re: Having a problem Disassociating an N:N entity

    Hi @jonclaylondon ,

     

    You can see the hint text of Unrelate rows action:

    vjefferni_1-1676527884247.png

     

    So, you can add get a row by ID action with GUID and then select Odata Id from dynamic contents.

    vjefferni_2-1676528122021.png

     

    Best regards,

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2