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 / Condition for If item ...
Power Automate
Unanswered

Condition for If item is created or modified

(0) ShareShare
ReportReport
Posted on by 5

Hello, 

 

I'm looking for some help with this. I'm looking to have a condition on whether the item was Created or Modified. 

 

So basically: 

 

If item is created: Create item for  different List 

 

If item was modified: Update item for the list. 

 

I'm just having trouble on what I need to put in the condition. 

 

______ is equal to ______

Categories:
I have the same question (0)
  • Ellis Karim Profile Picture
    11,995 Super User 2026 Season 1 on at

    Hi @bdoyle86 ,

     

    New Item:

    Created Date = Modified Date

     

    Updated item

    Created Date is not equal to Modified Date

     

    ekarim2020_0-1694524882718.png

     

    Ellis
    ____________________________________
    If I have answered your question, please mark the post as ☑️ Solved.
    If you like my response, please give it a Thumbs Up.
    My Blog Site

  • AH-03040917-0 Profile Picture
    2 on at
    Hello , cannot compare created and modified most of the time there is a little difference between two values    
    "Created": "2026-04-02T10:14:55Z",
    "Modified": "2026-04-02T10:14:56Z",
  • David_MA Profile Picture
    14,090 Super User 2026 Season 1 on at
    @Ellis Karim is correct in the solution. If there is a difference between the created and modified times, that means the item was modified. The only time the two values will be equal is when the item is created. When an item is created, both fields get the same value, the modified date is not null when the item is created. The created date is static and will never change. Only the modified date will change when an item is modified after it has been created.
     
    For your use case, I would create two workflows instead of putting everything in one.
    1. Create one workflow with the trigger, When an item is created.
    2. Create the other flow with the trigger, When an item or file is modified.
    No conditions required and each flow will serve the specific use case intended.
  • Ellis Karim Profile Picture
    11,995 Super User 2026 Season 1 on at
     
    See the comments section of When an item is created vs When an item is created or modified where "Created" and "Modified" are SOMETIMES not the same:
     
    ramesh.1064 says:

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
Haque Profile Picture

Haque 605

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard