Showing results for 
Search instead for 
Did you mean: 
Resolver I
Resolver I

Updating a record based on another records state - question about syntax / logic

Hello Power users,

I'm creating a flow, in which based on another table column, I want to update all records from different table (all in CDS)

Table1 is in one-to-many relationships and Table2 have lookup to Table1, which contains Table1 Unique ID name


1) Step one:

I'm trying to list rows based on condition of certain column X_statusX, which has Data type = choice. Please tell me if this approach is ok and if syntax is correct, I'm not sure about X_statusX = 'choicename'


2) Step 2

Based on value from first Step I want to list rows from second Table, So created For Each and took Step 1 value as arrows indicates:


3) Then I want to Update Status of table2 records if they have a lookup in Table1.



Any Suggestion to fix this Flow would be great.


Solution Sage
Solution Sage

Hi @Z_Lukowski ,


If I am getting it right you want to update child entity data based on Look up field which has certain status , then why not use fetch xml (advanced find) to get your required data first. Then you can put this fetch in list records with selected columns you want. Then do further processing.



Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Microsoft Ignite 768x460.png

Find your focus

Explore the latest tools,training sessions,technical expertise, networking and more.

Top Solution Authors
Users online (2,935)