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

Trigger conditions for SharePoint Choice fields

Hi everyone,

 

I have a relatively simple flow, but it runs on Create and Modify.  I'd like a trigger condition to prevent looping.

 

The trigger should be: "session lookup" not equal to "session calculated".

 

triggercondition.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
Pstork1
Dual Super User III
Dual Super User III

The trigger condition would be the following.

@not(equals(triggerOutputs()?['body/Sessionlookup/Value'], 'session calculated'))


-------------------------------------------------------------------------
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

3 REPLIES 3
Pstork1
Dual Super User III
Dual Super User III

The trigger condition would be the following.

@not(equals(triggerOutputs()?['body/Sessionlookup/Value'], 'session calculated'))


-------------------------------------------------------------------------
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

That was a big help.  I have two more conditions.  The next one is Status, another choice field.  I hate syntax.

triggerconditionstatus.jpg

@Pstork1 I think I have it now.

 

@or(

not(equals(triggerOutputs()?['body/Session_x0020_Lookup'], 'Session_x0020_calculated')),

not(equals(triggerOutputs()?['body/Status/Value'], 'body/Status/Value')),
not(equals(triggerOutputs()?['body/OSCE_x0020_Phase_x0020_lookup'], 'body/OSCE_x0020_Phase/Value'))
)

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!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (2,357)