EXIT used in Scripts within a Workflow cancels other Tasks

Document ID : KB000087857
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
EXIT used in Scripts in a Workflow cancels other Tasks

If you use :EXIT in a Script or any Process tab of a Job, the execution of said statement makes other Tasks fail with FAULT_OTHER and cancels practically the whole Workflow.
This is due to the Scripts of all Tasks not having generate at runtime are executed together, the first exit will cancel all other executions.
This is by design.
Cause:
Cause type:
By design
Root Cause: Scripts of all Tasks not having generate at runtime are executed together, the first exit will cancel all other executions.
Resolution:
This field was added on 30/03/2017. This article has not been updated yet. Refer to the "Description" or "Workaround" sections for solution information.

Additional Information:
Workaround :
Use generate at runtime in the Tasks containing the :EXIT command.