cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Highlighted
Solution Sage
Solution Sage

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

Hi misssp,

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

Capture.PNGRegards,

Zhongys

View solution in original post

Highlighted
Helper I
Helper I

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

Thank you. It worked.

View solution in original post

5 REPLIES 5
Highlighted
Solution Sage
Solution Sage

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

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

Highlighted
Helper I
Helper I

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

Hello Zhony,

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

Highlighted
Solution Sage
Solution Sage

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

Hi misssp,

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

Capture.PNGRegards,

Zhongys

View solution in original post

Highlighted
Helper I
Helper I

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

Thank you. It worked.

View solution in original post

Highlighted
Regular Visitor

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

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
FirstImage

Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (5,974)