cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jaina
Resolver II
Resolver II

How to avoid workflow from triggering from specific users

How do i configure my triggering flow if i have group of people who wish not to re-route the workflow when they modified a certain item in Sharepoint? Meaning, they are not the one's who created the item, but wish to modify it and will not trigger the workflow? 

 

I have a trigger "when an item is created or modified"


Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
v-litu-msft
Community Support
Community Support

Hi @jaina,

 

To avoid the Flow triggered by a specified person, you could set the trigger condition:

@not(equals(triggerBody()?['Editor/Email'], 'Emails@domain.com'))

If multiple person, the expression should be:

@not(or(equals(triggerBody()?['Editor/Email'], 'Email1@domain.com'),equals(triggerBody()?['Editor/Email'], 'Email2@domain.com'),equals(triggerBody()?['Editor/Email'], 'Emails@domain.com')))

PS: Please notice uppercase and lowercase letters:

Screenshot 2021-02-12 101057.jpgScreenshot 2021-02-12 101034.jpg

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

2 REPLIES 2
v-litu-msft
Community Support
Community Support

Hi @jaina,

 

To avoid the Flow triggered by a specified person, you could set the trigger condition:

@not(equals(triggerBody()?['Editor/Email'], 'Emails@domain.com'))

If multiple person, the expression should be:

@not(or(equals(triggerBody()?['Editor/Email'], 'Email1@domain.com'),equals(triggerBody()?['Editor/Email'], 'Email2@domain.com'),equals(triggerBody()?['Editor/Email'], 'Emails@domain.com')))

PS: Please notice uppercase and lowercase letters:

Screenshot 2021-02-12 101057.jpgScreenshot 2021-02-12 101034.jpg

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

jaina
Resolver II
Resolver II

edited: Hi @v-litu-msft , thank you so much, i already figure it out. this is okay now. Thank you.


@not(or(equals(triggerBody()?['Editor/Email'], 'Email1@domain.com'),equals(triggerBody()?['Editor/Email'], 'Email2@domain.com'),equals(triggerBody()?['Editor/Email'], 'Emails@domain.com')))

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,602)