User Tools

Site Tools


Halt on condition

This transformation aborts project execution if specified condition is not fulfilled. Error message can be customized to provide more insight into the cause of interruption.

The purpose of this transformation is to monitor data quality and prevent project from producing incorrect results or exporting incorrect data.


Let's assume we expect amounts to be only numbers.

Before transformation:

Province Amount Total Tax
ON 1000 125
BC #N/A 187.5
QC 2000 270

Defining condition as follows


will make the transformation stop project execution, because one of the values in column Amount is not number.

Note that the condition should return either TRUE or FALSE for each row. If for some reason it returns error then the transformation will also fail.

See also:

transformations/halt.txt · Last modified: 2015/10/02 02:18 by dmitry