cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
misssp
Level: Powered On

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.

 

list1.PNGlist1list2.PNGlist2step1.PNGstep1step2.PNGstep2

2 ACCEPTED SOLUTIONS

Accepted Solutions
v-zhos-msft
Level 10

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

misssp
Level: Powered On

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

Thank you. It worked.

View solution in original post

4 REPLIES 4
Highlighted
v-zhos-msft
Level 10

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

misssp
Level: Powered On

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

v-zhos-msft
Level 10

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

misssp
Level: Powered On

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

Thank you. It worked.

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 243 members 5,999 guests
Please welcome our newest community members: