cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jbarfield
Helper I
Helper I

update item - without matching ID's - Sharepoint List

I have 2 sharepoint lists, 

 

List A - EWO App

List B - EWO for maintenance

 

The flow I have is below:

 

Jbarfield_1-1600085246522.png

 

The Goal is: 

When a list item is modified in List A, update that Item in List B

 

The flow works fine when I have the ID field set to ID, but the problem is that the list ID's are not the same between both lists (List B has a lot more items) so I am looking for another solution to use in the ID field. I have tried using title since the titles are unique but the flow keeps failing. 

 

any ideas?

1 ACCEPTED SOLUTION

Accepted Solutions

Thanks @PrasadAthalye I ended up doing something similar but I could not get the lookup column to work. 

 

I created a column in LIST B and in my create flow I set this columns value to the ID of the item from LIST A 

List A and List B.png

ID.png

EX -

LIST A ID = 19, when an Item in created LIST B ID = 3599 and AID = 19 

 

then on my modify item flow I added 'Get Items' and under advanced options/filter query I set AID equal to the ID of list A and set the count to 1. 

 

get items.png

I had some errors here so I had to remove the filter query and run the get items and check the results, AID was not the true name of the column it turned out to be UniqueID0 so I had to set my filter query to "UniqueID0 eq ID"

error message.png

check output.png

unique ID.png

after Get items I added the update item property to flow and filled in the fields normally. 

 

Worth nothing I had to make sure under update items I had to make sure AID had the ID field for List A again and not List B. 

 

 

View solution in original post

2 REPLIES 2
PrasadAthalye
Super User
Super User

Are you trying a kind of parent Chile relationship? In the 2nd list, add a lookup from 1st and call it EWOApp id. Then make sure to select when you create record in maintenance.

 

Now in the flow, update record where EWOApp_ID = ID from the first list. That way you find exact match.

 

Like and Mark this as an answer if this solves your problem

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community

Thanks @PrasadAthalye I ended up doing something similar but I could not get the lookup column to work. 

 

I created a column in LIST B and in my create flow I set this columns value to the ID of the item from LIST A 

List A and List B.png

ID.png

EX -

LIST A ID = 19, when an Item in created LIST B ID = 3599 and AID = 19 

 

then on my modify item flow I added 'Get Items' and under advanced options/filter query I set AID equal to the ID of list A and set the count to 1. 

 

get items.png

I had some errors here so I had to remove the filter query and run the get items and check the results, AID was not the true name of the column it turned out to be UniqueID0 so I had to set my filter query to "UniqueID0 eq ID"

error message.png

check output.png

unique ID.png

after Get items I added the update item property to flow and filled in the fields normally. 

 

Worth nothing I had to make sure under update items I had to make sure AID had the ID field for List A again and not List B. 

 

 

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.

Top Kudoed Authors
Users online (16,332)