Validator

validates input, output and local variables

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.


Properties

Common

Name - refers to the unique identifier or label assigned to a node within a flow.

Type
Restrictions

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.

Type
Restrictions

Input Text

  • Max length: 5000

Specific

Variable - any variable accessible to the node.

Type
Restrictions
  • Mandatory

Validators - a set of validation rules that the selected variable must conform to.

Type
Restrictions

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.

Type
Restrictions

Boolean

  • Mandatory

  • Default value: false


Result

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 ValidationResult data structure.


Connections

Type
Min count
Max count

in

1

*

out

1

1

Last updated