cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
darrenfloyd666
Post Prodigy
Post Prodigy

Updating a secondary list with the values from a primary list

I've got List A and List B. 

 

When an item is List A I want Flow to copy the item to List B. I'm adding some additional fields which will be mandatory for the next stage.

 

I'm using a Get Items action to get the values from List A, then I have an Apply to each loop with value as the output. This is followed by a Update item action which I'm pointing at List B and using the values returned from the Get Items action to update the fields. 

 

This is part of a larger flow (should I create it as it's own separate Flow?). I'm checking the results from  the Update item action and it seems to be showing the item values in the Id and Body fields but on the output I'm getting a 404. I've haven't recreated all the fields from List A to list B yet as I wanted to run a proof of concept test.

 

Any ideas where I'm going wrong?

1 ACCEPTED SOLUTION

Accepted Solutions
abm
Super User
Super User

Hi @darrenfloyd666 

 

Most likely your List B identifier is wrong hence you getting 404 record not found. The unique identifiers are system generated when you create a record in SharePoint. So to get the List B identifier you need to use List items filter query using List A values. I hope there are some unique column values in each records in List B. Say for example Name or Title is unique then you could use the filter as name to find the id of each list record from B.

 

If you need any further help in this please let me know.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

View solution in original post

3 REPLIES 3
abm
Super User
Super User

Hi @darrenfloyd666 

 

Most likely your List B identifier is wrong hence you getting 404 record not found. The unique identifiers are system generated when you create a record in SharePoint. So to get the List B identifier you need to use List items filter query using List A values. I hope there are some unique column values in each records in List B. Say for example Name or Title is unique then you could use the filter as name to find the id of each list record from B.

 

If you need any further help in this please let me know.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials
abm
Super User
Super User

Hi @darrenfloyd666 

 

Do you want any further help in this? If you have found a solution please accept it as solution accepted.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

Thanks @abm you've been great! haven't tested it out yet. I'll mark this as a solution and tag you in another post if I have any further questions. Thanks! 

Helpful resources

Announcements
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.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (2,199)