cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DanielRK
Continued Contributor
Continued Contributor

Trigger conditions- how to write

Hi,

 

I have 2 flows that need to trigger depending on the office group as each office group has a different approval process:

 

Group 1: Branch (many branches)

Group 2: Head Office (one)

 

The branch column in the sharepoint list datasource contains the names of all the branches and a Head Office and Regional Office value like this:

 

Branch 1

Branch 2

...

Head Office

Regional Office

 

Now I want to write a trigger condition but I'm not sure of the syntax for my situation:

 

For my Branch flow (flow 1) I want the trigger condition to go something like this- Where the Branch column is not equal to 'head office' OR 'regional office1' OR 'regional office 2'.

 

I would appreciate any help on this. Thank you.

 

Regards,

 

Daniel

 

1 ACCEPTED SOLUTION

Accepted Solutions
Gericom
Resolver II
Resolver II

hi @DanielRK 

 

the trigger condituin needs to be 

@not(or(equals('Branch column value','head office'),equals('Branch column value','regional office1'),equals('Branch column value','regional office1')))
 
a tip that I can give you is to make your condition in expression copy it and add a @ before it 

with kind regards

--------------------------------------------------------------------------

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

 
 

View solution in original post

2 REPLIES 2
Gericom
Resolver II
Resolver II

hi @DanielRK 

 

the trigger condituin needs to be 

@not(or(equals('Branch column value','head office'),equals('Branch column value','regional office1'),equals('Branch column value','regional office1')))
 
a tip that I can give you is to make your condition in expression copy it and add a @ before it 

with kind regards

--------------------------------------------------------------------------

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

 
 

View solution in original post

DanielRK
Continued Contributor
Continued Contributor

Hi @Gericom ,

 

Thank you such much! This works.

 

I really appreciate it!

 

Regards,

 

Daniel

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

Top Solution Authors
Top Kudoed Authors
Users online (2,217)