cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Triggering only the "Modified" part of the "when an item is created or modified"

Hi,

 

Apologies if this has already been answer but i cannot seem to locate this in the forum.

 

Is there a way to trigger only the modified part of "when an item is created or modified" trigger?

 

I know there has been interest for developing a trigger for when a file has been modified but there doesn't seem to have been anything added as of yet.

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Triggering only the "Modified" part of the "when an item is created or modified"

Hi @Callum91,

 

You could following these steps to set the trigger "When an item is created or modified", to make it only will be fired when an item modified:

1. Click the right top of the trigger, then click the setting:

Annotation 2020-05-06 102217.png

2. Scroll down you will find a feature is Trigger condition, click add and then paste this expression into it and save it, it means if the item created time is not equal to modified time, the operation just do on the item is modified not created:

@not(equals(triggerbody()?['Created'],triggerbody()?['Modified']))

Annotation 2020-05-06 102153.png

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Highlighted
Community Support
Community Support

Re: Triggering only the "Modified" part of the "when an item is created or modified"

Hi @Callum91,

 

You could following these steps to set the trigger "When an item is created or modified", to make it only will be fired when an item modified:

1. Click the right top of the trigger, then click the setting:

Annotation 2020-05-06 102217.png

2. Scroll down you will find a feature is Trigger condition, click add and then paste this expression into it and save it, it means if the item created time is not equal to modified time, the operation just do on the item is modified not created:

@not(equals(triggerbody()?['Created'],triggerbody()?['Modified']))

Annotation 2020-05-06 102153.png

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Users online (6,076)