Data Validator
Snap type: | Transform | |
---|---|---|
Description: | This Snap provides the functionality to validate incoming data against a set of defined constraints.
An example of a pattern can be seen in the following image: The pattern constraint in the screenshot above validates all incoming documents and their attributes a.c.b against the regular expression ^abc, expecting that all attribute values of a.c.b start with abc. If they do, the document is routed to the output view; otherwise, the document is routed to the error view.
The type constraint should be defined last in case there are multiple constraints defined for a source path. | |
Prerequisites: | N/A | |
Support and limitations: | Works in Ultra Tasks. The Data Validator Snap displays an error if the required field is set to t |