The FAIL directive will fail processing of data pipeline when condition is evaluated to true
.
Syntax
Code Block |
---|
fail <condition> |
The <condition>
is a JEXL expression specifying the condition that governs if the record should be sent to the error collector.
Usage Notes
The most common use of the FAIL directive is to fail further processing of the pipeline when the condition is met.
Example
Assume a record that has these three fields:
...