Using Logic Statements

Use the following to help you write logic statements for Playbooks:

Name Description Example
AND All conditions must be met.

 

AND
Single Match

Single condition is met.

Red AND Green: Must contain red and green items.
AND
Group Match
Multiple conditions are met. (Red AND Green) AND (Red AND White): Must
contain both red and green items and red and white items.
OR Any of the conditions can be met.  
OR 
Single Choice
Single condition is met. Yellow OR Blue: Can contain yellow or blue items.
OR
Group Choice
Multiple conditions are met.

Yellow OR Blue OR Green:The matches must
contain
either yellow or blue or green to be returned.