cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Powerhouse
Helper I
Helper I

Trigger Condition (if not modified by)

Hello all!

 

What is the trigger condition if I want to say:

 

if the event is NOT modifed by myself

 

@not(equals(triggerOutputs()?['Modified'],'myemailadress.com'))

 

would this work? ^

20 REPLIES 20
JulianaD
Helper II
Helper II

This is what worked for me: 

 

@not(equals(triggerOutputs()?['body/Editor']?['Email'],'myemail@domain.com'))

 

My Settings 'Array' shows @triggerOutputs()?['body/value'] so my Trigger Conditions expression has to be written to match. (For more details about that see this article: How to write TRIGGER CONDITIONS for a specific tex... - Power Platform Community (microsoft.com)).

 

For context, I am using this so that when a user updates an item in the list (modified by is not me), the flow runs through conditions to send applicable notifications, at the end of the flow the item is updated with the outcomes (modified by is me), I added this trigger condition so that it stops there and does not infinite loop. Works great! 

Cheers, 

Juliana Donkersgoed

JulianaD_0-1652889796940.png

 

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,662)