web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to avoid Duplicate...
Power Automate
Unanswered

How to avoid Duplicates when a flow runs to updates a Sharepoint List

(0) ShareShare
ReportReport
Posted on by 2

Hi,

 

I have a flow that firstly pulls in the custom data from Project Online via a Sharepoint HTTP connection and then populates a Sharepoint list with the outputs of the field data I need to have access to. 

 

This part runs fine, however when the flow runs thereafter it duplicates items already in the list and I need to achieve the following

 

1) Avoid duplicated being created in the list item when the flow runs

or

2) Run a flow that allows me to check the HTTP OData coming in from Project Online against what is already held in the Sharepoint list and if there is a match, then do nothing e.g. do not create and item or if there is no match, then create the new item

 

I use this Sharepoint List data as a data source in a power app, this is bit is fine and all works I just want the clean data to be shown hence the above.

 

So to provide some context to this, the following is the flow I have generated so far:-

 

Stuartnt_6-1664904124430.png

 

I've noticed the output from the Get Project Online Data on the left hand branch, differs in terms of the field names. In the data the main ID field I need to reference is ProjectIdentifier e.g.Stuartnt_3-1664902157357.png, however on the output of the SPListdata on the right hand branch, the field name for this ProjectIdentifier is "field 0" e.g. Stuartnt_2-1664901342299.png 

 

The issue I am facing is from the information returned from the get data options on both branches, is what the structure of the rest of the flow should be and look like to enable me to check if the item exists in the SP List first and only append any new items from the Project Online get data option if no match exists, but this is where I am confused and or missing a trick somewhere as I am struggling to put the bits together to reference the conditions needed to achieve the desired result.  I'm not sure if this is achieved using arrays, filer arrays, compose, unions etc???

 

I would welcome any thoughts on this please and demonstrable flow examples of how I can close this out and ensure a robust and repeatable flow that run seamlessly. This happens to be the last part of my puzzle but one that is giving challenges.

 

Many thanks in advance

 

Stu

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 505

#2
Haque Profile Picture

Haque 446

#3
Valantis Profile Picture

Valantis 395

Last 30 days Overall leaderboard