cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
marcelosal
Regular Visitor

When creating items in a sharepoint list, flow is duplicating one randomly

Hi everyone

 

I have a recurrent flow which takes all the items from two different lists (List A and List B) and combines them, creating one item in List C for each AB item. List A currently has 89 items and List B 8. The result I'm looking for is 712 new records in List C. I've run the flow twice and both times got 713 items. 

 

Filtering through list C, both times I found an item duplicated (different items). It would be good to know what may be causing these to avoid it in future recurrences.

 

Thanks in advance,

Marcelo

 

flow-duplicate.png

4 REPLIES 4
Gristy
Resident Rockstar
Resident Rockstar

does the same one get duplicated each time?

Have you flicked through all 89 runs to make sure they are all 8 runs in the second loop? ( i assume they are )

v-litu-msft
Community Support
Community Support

Hi @marcelosal,

 

How do you count the number of these items in List C?

By using the Get items action?

 

If they do have 713, could you find the duplicating one? What's the feature of it?

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi

 

To count them I exported List C to Excel and saw one more record than the expected. Then, I filtered until finding out which one was repeated. It was a different row (the one repeated) in each flow run. It's behaving very weird. I think I will redo the flow.

 

Thanks.

Hi @marcelosal,

 

One possibility is that the process that exported List C to an excel file.

 

You can count the number of items by using length() function:

Annotation 2020-01-09 171956.png

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
User Groups Public Preview

Join us for our User Group Public Preview!

Power Automate User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.

MSFTBizAppsLaunchEvent

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (29,431)