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

Flow created duplicate item in list 2 when list 1 is updated

Hello, 

I am new with FLOW. I created a FLOW to copy items and attachments from list1 to list2.  But, when an item is updated in list1, instead of updating in list2.  My FLOW duplicated the item in list2 with updated value in 1 column.  Every time, a user updates in list1.  A new item is created in list2.  I tried various ways, - Get item,  condition.  I couldn't get it to to work.   User can update any column in list2.  I think I don't have a proper trigger in list1 for update item.

 

Your help is appreciated.

 

list1list1list2list2step1step1step2step2

2 ACCEPTED SOLUTIONS

Accepted Solutions

Hi misssp,

The issue is about your 'Get attachments 2' configuration. Please take a check below:

Capture.PNGRegards,

Zhongys

View solution in original post

Thank you. It worked.

View solution in original post

5 REPLIES 5
v-zhos-msft
Solution Sage
Solution Sage

Hi misssp,

According to your description, what your purpose is to update the item in list2 instead of create a new one when the item is already exist in list2.

I have made a flow for your scenario, please check it for a reference.

The “ID” in the Append to array variable is coming from Get items.

The “ID” in the Condition is coming from when an item is Created or modified.

Inked1_LI.jpg

2.png3.png

 

Please feel free post back if you need more help.

Best regards,

Zhonys

Hello Zhony,

I followed your suggestion.  I attached a document.  It failed on 'Condition' step. Thanks.01302019_reply.PNG01302019_reply2.PNG

Hi misssp,

The issue is about your 'Get attachments 2' configuration. Please take a check below:

Capture.PNGRegards,

Zhongys

View solution in original post

Thank you. It worked.

View solution in original post

hi,

 

how did you manage to maintain the same ID for both lists ? I'm having a hard time copying over the ID from the first list to the second. 

Which also mean, the ID's arent matching and duplicate records are being created. 

Whats an alternate ?

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

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!

Users online (40,732)