Boolean Condition

Overview

The 'Boolean Condition' connector on Tray allows you to make boolean comparisons between various types of data.  This connector may be configured as a pure boolean logic gate, or to check that specific JSON paths exist in your workflow.

Configuration

Operation Description
Boolean Condition A list of evaluations, each with two values and a comparison type to perform.
Input: Any number of boolean logic conditions.
Output: A single instance of true / false
Property Exists Checks if a single JSONpath in your workflow has both been declared and has value.

Boolean Condition

Field Description
Condition.1st Value Any value of type:
String, Number, Object, Array, Boolean, Null, JSONpath
Comparison Type Equal to, Not equal to, Smaller than, Smaller or equal than, Greater than, Greater or equal than, In list, Not in list
NoteCondition.1st Value and Condition.2nd Value must be of the same type.  Otherwise, the condition will always return false.
Condition.2nd Value Any value of type:
String, Number, Object, Array, Boolean, Null, JSONpath
Strictness Satisfy ALL conditions
The Boolean connector will return true only if ALL comparisons in the connector are true.
Satisfy ANY conditions
The Boolean connector will return true if ANY comparisons in the connector are true.

Property Exists

Field Description
JSON Path Property Any single JSON path.
Last updated 3rd March 2017