cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
freshyshreya
Post Patron
Post Patron

Working with when an item is created or modified flow trigger

Hi,

I have created two power automate flows 1. when an item is created 2.when an item is modified

 

I want to combine these two flows into one using the trigger when an item is created or modified.So,one part of the flow should run only when an item is modified and other part of the flow should run only when when an item is created.

 

Please suggest me ways for doing this!

1 ACCEPTED SOLUTION

Accepted Solutions
ekarim2020
Super User
Super User

You can try this:

 

If a new item is created, both the Created date and Modified date will be the same.

Example:

"Modified": "2021-09-28T19:58:45Z"
"Created":  "2021-09-28T19:58:45Z"

 

If not, then the item will have been modified (modified date will not be equal to the created date; the modified date will be later than created date).

Example:

    "Modified""2021-09-28T19:58:16Z"
    "Created":  "2021-08-27T11:24:41Z"


Ellis

 


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

View solution in original post

1 REPLY 1
ekarim2020
Super User
Super User

You can try this:

 

If a new item is created, both the Created date and Modified date will be the same.

Example:

"Modified": "2021-09-28T19:58:45Z"
"Created":  "2021-09-28T19:58:45Z"

 

If not, then the item will have been modified (modified date will not be equal to the created date; the modified date will be later than created date).

Example:

    "Modified""2021-09-28T19:58:16Z"
    "Created":  "2021-08-27T11:24:41Z"


Ellis

 


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

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (2,989)