Validator
validates input, output and local variables
Last updated
validates input, output and local variables
Last updated
Allows users to validate any variables, including input, output, local, or those generated by node execution. This helps reduce the complexity of flows by consolidating all data validation into a single node.
Name - refers to the unique identifier or label assigned to a node within a flow.
input Text
must consist of letters (A-Z or a-z), digits (0-9), underscores (_), or dollar signs ($). However, a class name cannot start with a digit and dollar sign ($)
Unique per flow
Mandatory
Min length: 1
Max length: 255
Description - provides a textual description or additional information about a node within a flow. Unlike the name property, which serves as a unique identifier or label for the node, the description property offers supplementary details that help to clarify the purpose, functionality, or behavior of the node.
Input Text
Max length: 5000
Variable - any variable accessible to the node.
Mandatory
Validators - a set of validation rules that the selected variable must conform to.
Validation rules
Mandatory
Throw exception - this flag indicates whether the system should throw a validation exception and stop flow execution, or create a new variable with the validation result and proceed with flow execution even in case of a validation failure.
Boolean
Mandatory
Default value: false
in
1
*
out
1
1
The result depends on the value of Throw Exception
. If Throw Exception
is true, a failed validation will trigger a new validation exception and stop the happy path execution. If Throw Exception
is false, execution will continue regardless of validation results, and the outcome will be a new variable with a data structure.