Boolean Operators

Click on Image to see full size image

Lesser/Greater/Equal To

Context: Workflow, Dashboard Widget, Computed field, Report

Pieces include

In the example shown, we check if the Custom field (Vitals - Systolic BP) collected via Question piece earlier is lesser than 100 and if TRUE, show the relevant message. You can use all the above listed pieces similarly.

In / Not in

Context: Workflow, Dashboard Widget, Computed field, Report

These 2 operators are used whenever you want to check if a single entity is there (or not there in case of Not in piece) in the corresponding list containing same type of entities. For example, Member in Members list; Text in a Text list etc. 2 pieces are:

And / Or / Not

Context: Workflow, Dashboard Widget, Computed field, Report

And / Or operators are used for joining 2 or more conditions; Not is used to negate a condition 

In the example shown, we show a message, Not low BP, if Systolic or Diastolic BP levels are NOT lower than the numbers mentioned.

Variable to Boolean / Boolean to Variable

Context: Workflow, Dashboard Widget, Computed field, Report

These 2 operators are used to transform the value type from variable to boolean and boolean back to variable. 

For e.g. you want to check if a custom field contains some value, you can convert it to boolean and it returns a TRUE value. Which means, it is defined. Similarly, say a boolean variable has been set to TRUE. When you convert it to Variable, it is set to a value, Yes.

Is Defined / Is Not Defined

Context: Workflow, Dashboard Widget, Computed field, Report

These operators are useful to check if a custom field or variable is defined or not.

In the example shown, we check if the custom field has been defined when it executes the condition check