cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Fabiann
New Member

SharePoint item: Copy created or updated items to another list

Hi,

Pretty new to Flow, I am trying to copy SharePoint items from one list (A) to another list (B).

So when a new item is created in list (A) it will create in the second list (B).

If the item already exists in list (B), it will update the item in the list (B).

 

I have followed instructions from there https://support.microsoft.com/en-us/help/4467880/how-to-copy-items-between-two-sharepoint-lists-by-u...

 

But I cannot make it works...

 

I am able to reproduce first step:  When an item is created or modified in list (A)

Then second step, I have added Get Items from List (B)

Then added an extra step: Send me an email notification - this works and send me email with the item modified

Then the condition is created as per the exact instructions from MS support above link.

 

But the item is not created in the list (B) despite the fact the flow is running fine without error.

 

I would really appreciate some help.

 

Thanks
Kind regards

2 REPLIES 2
Brad_Groux
Super User II
Super User II

The Flow is running without an error because you likely have an issue with your condition.

After your trigger for List 1, and the Get items for List 2 You need to create a condition that checks if the the item from List 1 already exists in List 2 by comparing column data (such as Title). If it does exist, then Update item, if it does not exist, then Create item. It would look something like this: UpdateOrCreateListItemsFromAnotherList.JPG

If you could provide an expanded screenshot of your Flow and steps, and of any detailed error messages you're receiving we could likely better assist you.

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

AshleaLu
Frequent Visitor

Hi Everyone,

I was snooping trying to help myself with doing this with lists and it WORKED!

however all my lines took on the same employee name???

I have done something wrong for sure!

Thanks,

Ashlea

Helpful resources

Announcements
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

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Top Kudoed Authors
Users online (54,966)