cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kouliscon
Helper V
Helper V

update multiple items to another list

Hello,

I have a SharePoint online list” LIST A” with the below items:

 

Column 1

Column 2

A

Yes

B

Yes

C

Yes

D

Yes

E

Yes

F

Yes

G

Yes

 

Then I have another SharePoint online list “LIST B” and what I am looking for is when I input an item at “LIST B” to update the selected item e.g. “A” to value “NO” but also to update the values of items “C”, “D” to “NO” also as they are related.

 

In other words I would like from “list B” to update the respective item in “list A” but in some cases to update multiple items at “list A”.

 

I have made how to update one item, but I cannot figure out how to update multiple items.

1 ACCEPTED SOLUTION

Accepted Solutions
v-duann-msft
Community Support
Community Support

Hi @kouliscon 

 

Thank you for posting.

 

According to your description, you would like to update items in list A based on changes from list B. However, you may need to update several items in list A as they are related.

 

If that’s the case, we should use ‘get items’ from listA and  filter related items in ‘filter query’. After that, ‘update item’ in a loop. Since you didn’t mention the detailed relationship between A & C,D. Thus, I assume they have same caseID in my example.

 

Here is my test process:

v-duann-msft_0-1621221802965.png

 

v-duann-msft_1-1621221802968.png

 

Flow overview:

v-duann-msft_2-1621221802973.png

 

Once tested, I’m able to update items which has same CaseID.

v-duann-msft_3-1621221802978.png

 

v-duann-msft_4-1621221802979.png

 

Hope the content above may help you.

 

Best regards,

Anna

View solution in original post

1 REPLY 1
v-duann-msft
Community Support
Community Support

Hi @kouliscon 

 

Thank you for posting.

 

According to your description, you would like to update items in list A based on changes from list B. However, you may need to update several items in list A as they are related.

 

If that’s the case, we should use ‘get items’ from listA and  filter related items in ‘filter query’. After that, ‘update item’ in a loop. Since you didn’t mention the detailed relationship between A & C,D. Thus, I assume they have same caseID in my example.

 

Here is my test process:

v-duann-msft_0-1621221802965.png

 

v-duann-msft_1-1621221802968.png

 

Flow overview:

v-duann-msft_2-1621221802973.png

 

Once tested, I’m able to update items which has same CaseID.

v-duann-msft_3-1621221802978.png

 

v-duann-msft_4-1621221802979.png

 

Hope the content above may help you.

 

Best regards,

Anna

View solution in original post

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

Users online (3,597)