flushJob

Top  Previous  Next

Check wether a job should be flushed. This function must be called at the end of each step in a Job, to check if the flush condition (previously defined with the job function) has been verified and thus the job process have to be stopped.

Syntax

flushJob()

Parameters

None.

Return code

true if the job should be stopped.

Sample

if (flushJob()) {
       jobObj.exit();
}