Home | Table of Contents | Conditional Fail Expression | CloverETL 4.6.1
--- | --- | ---
Prev | Language Reference | Next

## Conditional Fail Expression

You can also use conditional fail expressions.

They look like this:

    expression1 : expression2 : expression3 : ... : expressionN;

This conditional fail expression may be used for mapping, assignment to a variable, and as an argument of a function too.

The expressions are evaluated one by one, starting from the first expression and going from left to right.

1. As soon as one of these expressions is successfully evaluated, it is used and the other expressions are not evaluated.

2. If none of these expressions may be used (assigned to a variable, mapped to the output field, or used as an argument), the graph fails.

| Important
Remember that in CTL2 this expression may be used in multiple ways: for assigning to a variable, mapping to an output field, or as an argument of the function. (In CTL1 it was only used for mapping to an output field.) Remember also that this expression can only be used in the interpreted mode of CTL2.

Prev | Up | Next
Message Function | Home | Table of Contents | Accessing Data Records and Fields