cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Flow to sharepoint list - Update Item - without matching ID's

I have 2 sharepoint lists, 

 

List A - EWO App

List B - EWO for maintenance

 

The flow I have is below:

 

Jbarfield_0-1599845762034.png

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
Anonymous
Not applicable

Found a solution

 

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
Anonymous
Not applicable

Found a solution

 

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. 

Good afternoon,

 

Unfortunately I think my question is the same but I'm still quite confused. I have a flow that is currently doing the following steps but I want to take it to the next level.

- When a MS form is submitted > Teams Approval Process 1 kicked off  & Item created on Pending Requests SharePoint list. 

- If this request is approved > a second Teams Approval Process (2) is kicked off

- If the second Teams Approval Process (2) is approved > an item is created on the Approved Requests SharePoint list

 

I'm struggling on updating the 'Status' column on the Pending Request list of the original created item.  Can you help me with this flow please? I have tried starting a whole new flow based on when a new item is created on the 'Approved Request' list but I'm struggling on how to point it to update the corresponding item on the 'Pending Request' list.

 

Thanks for your help!

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

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

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,199)