This step extracts records from a data source. The output endpoint out_extract contains records satisfying the specified condition. The output endpoint out contains all records.
Because this step is internally implemented via a filter, it allows usage of whenCondition. If this condition is used it will cause non-passing records to be excluded from the step processing. Such records are copied directly to the output, without affecting the out_extract endpoint.
To ensure that all records are processed, the whenCondition should not be used in this step.
<step id='extract_empty' className='cz.adastra.cif.tasks.conditions.ExtractFilter'>
<properties>
<condition>validity = TRUE AND score < 1000</condition>
</properties>
</step>
<connection className='cz.adastra.cif.model.elements.connections.StandardFlowConnection'>
<source step='extract_empty' endpoint='out_extract'/>
<target step='...' endpoint='in'/>
</connection>
<connection className='cz.adastra.cif.model.elements.connections.StandardFlowConnection'>
<source step='extract_empty' endpoint='out'/>
<target step='...' endpoint='in'/>
</connection>
| iWay Software |