Forcing a step to execute on failure of previous step
I have the following batch -
step 1 - read 'tbl_unprocessed_data' and stage to 'batch_staging' table
step 2 - (multi-thread) invoke business services for each record in 'batch_staging'
On failure skip current record. Write error message to 'tbl_error'
step 3 - When all records in 'batch_staging' are processed - Invoke report service
step 4 - Write to 'tbl_log'
The behavior we see is that step 3 does not execute on failure of step 2.
Is there a way on failure of step 2, force execution of steps 3 and 4?