v0.0.4b
Predicate Operators
Jan 1, 2026
Operators
Used in PredicateExpression to test the state of a field (whether it has a value or is empty).
Operators
Operator | Name | Description |
|---|---|---|
| Is Empty | Returns true if the field has no value, is null, or is an empty string/array |
| Is Not Empty | Returns true if the field contains any non-null, non-empty value |
Behavior
IS_EMPTY
Evaluates to true when:
Field value is null or undefined
Field value is an empty string (
"")Field value is an empty array (
[])Field has not been set
IS_NOT_EMPTY
Evaluates to true when:
Field contains any non-null value
String fields have at least one character
Array fields have at least one element
Field has been set with a value
Field Reference
Predicate operators work with ProcessFieldValue references:
Must reference an existing field in the current process
Field value is retrieved at expression evaluation time
Works with any field type
Usage
Used for:
Required field validation
Conditional workflow gating
Data completeness checks
Form validation rules
Progressive disclosure (show/hide fields based on data presence)
Process advancement conditions
Examples
Check if a field is empty:
Check if a field has data:
Combined with logical operators: