Announcements
My Power apps button code:
@Viral21
You can use the 'Get items' action with the Filter Query to check for "DocumentType" &"EntityID". Then, use the length() function inside a Condition to check if a record exists. If length = 0, then it doesn't exists.
So, you'd use the 'Yes' side of the condition to create an item, and the 'No' side to Update an existing item.
This blog post runs you through what you need
https://tomriha.com/how-to-check-if-sharepoint-item-already-exists-in-power-automate/
Hello @EddieE I have updated flow as per your suggestion, but I get below error.
Can you please help me how I need to write filter query code?
My SharePoint List Columns Name: "Entity ID" & "Document Type"Note: I pass value for that from power app
Spaces in column names need to be written differently in the Filter, ie
'Entity ID' should be
Entity_x0020_ID
... and so on
@EddieE I wrote without space like "EntityID" and it's working fine.Thanks for your support
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 416 Most Valuable Professional
11manish 205 Super User 2026 Season 2
MS.Ragavendar 128 Super User 2026 Season 2