core / condition / schema v1
Filter
Continue only if a condition passes, otherwise stop
Prerequisites
No connection prerequisite is declared for this node.
Parameters
| Parameter | Type | Description |
|---|---|---|
Valuefield | text Required Default: | For the role-check operators, point this at a role-id list like {{member_roles}}.Field conditions{
"visible": {
"key": "operator",
"values": [
"equals",
"not_equals",
"contains",
"not_contains",
"starts_with",
"ends_with",
"greater_than",
"less_than",
"gte",
"lte",
"is_empty",
"is_not_empty",
"is_true",
"is_false",
"is_number",
"is_string",
"regex",
"in",
"not_in",
"has_any_role",
"has_all_roles",
"has_no_role"
]
}
} |
Operatoroperator | select Required | Options: equals (equals), not equals (not_equals), contains (contains), not contains (not_contains), starts with (starts_with), ends with (ends_with), greater than (greater_than), less than (less_than), greater or equal (gte), less or equal (lte), is empty (is_empty), is not empty (is_not_empty), is true (is_true), is false (is_false), is a number (is_number), is text (not a number) (is_string), matches regex (regex), is one of (in), is not one of (not_in), has any of these roles (has_any_role), has all of these roles (has_all_roles), has none of these roles (has_no_role), matches a formula (advanced) (expression) |
Compare tovalue | text Conditionally required | Field conditions{
"visible": {
"key": "operator",
"values": [
"equals",
"not_equals",
"contains",
"not_contains",
"starts_with",
"ends_with",
"greater_than",
"less_than",
"gte",
"lte",
"regex"
]
},
"required": {
"key": "operator",
"values": [
"equals",
"not_equals",
"contains",
"not_contains",
"starts_with",
"ends_with",
"greater_than",
"less_than",
"gte",
"lte",
"regex"
]
}
} |
Any ofvalueList | tags Conditionally required | Passes if Value is any of these (or, for role-check operators, the role IDs to look for)Field conditions{
"visible": {
"key": "operator",
"values": [
"in",
"not_in",
"has_any_role",
"has_all_roles",
"has_no_role"
]
},
"required": {
"key": "operator",
"values": [
"in",
"not_in",
"has_any_role",
"has_all_roles",
"has_no_role"
]
}
} |
Formulaexpression | textarea Required | A yes/no formula: the branch passes when it comes out true. Reference data with {{name}}; supports arithmetic, comparisons, && || !, in, and functions.Field conditions{
"visible": {
"key": "operator",
"values": [
"expression"
]
}
} |
Case sensitivecaseSensitive | boolean Optional | On: "Hello" and "hello" are different values. Off: letter case is ignored when comparing.Field conditions{
"visible": {
"key": "operator",
"values": [
"equals",
"not_equals",
"contains",
"not_contains",
"starts_with",
"ends_with",
"greater_than",
"less_than",
"gte",
"lte",
"is_empty",
"is_not_empty",
"is_true",
"is_false",
"is_number",
"is_string",
"regex",
"in",
"not_in",
"has_any_role",
"has_all_roles",
"has_no_role"
]
}
} |
Inputs and outputs
Inputs
execute- Execute (input)
Outputs
pass- Pass (output)stopped- Stopped (output)
Output data schema
[
{
"key": "passed",
"type": "boolean",
"label": "Passed",
"description": "Only present on the Pass branch. A stopped run publishes nothing"
}
]Examples and troubleshooting have not yet been reviewed for this contract.
Version and compatibility
This reference follows the current authoring contract. Existing workflows retain their saved node revisions.
Contract identifier
eb096fcc43c60961d021afc70dc7024ebb9cfbe76ab8ef8d9a513eb4de1fed87