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 check if item i...
Power Automate
Unanswered

How to check if item is created or modified in power automate

(0) ShareShare
ReportReport
Posted on by 5

Hello All,

 

i have created a flow which will check if item is created or modified. by checking in condition created eq Modified in formatdatetime condition, but in sharepoint list there is some delay about 2 seconds in modified column, because creating item with attachments, so there will some delay in modified due to that for some items condition is not satisfying. i have also tried with below solution from https://powerusers.microsoft.com/t5/Building-Flows/Check-if-SharePoint-list-item-created-or-modified/td-p/779195,

but it is not working.

@OR(and(equals(formatDateTime(triggerOutputs()?['body/Created'],'yyyy-MM-dd'), formatDateTime(utcNow(),'yyyy-MM-dd')), equals(triggerOutputs()?['body/{HasAttachments}'], true), not(equals(float(triggerOutputs()?['body/{VersionNumber}']), 1.0))), and(equals(triggerOutputs()?['body/Created'], triggerOutputs()?['body/Modified']), equals(float(triggerOutputs()?['body/{VersionNumber}']), 1.0))),

 

 

Could you please let me know any alternative way to check in power automate, I need to solve this issue ASAP, due to this i am not able to achieve desire results.

 

Thank you in Advance!

Categories:
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Use "When an item or a file is modified" as follows:

    update action.JPG

  • skim32 Profile Picture
    10 on at

    I turn on versioning on the list.  And do an if condition for "if version = 1.0".  This seems to work but only if you don't need to capture any attachments on the first run.  This is because attachments are really an update. And the version number will be 2.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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 288 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard