EXIT used in Scripts within a Workflow cancels other Tasks
book
Article ID: 87857
calendar_today
Updated On:
Products
CA Automic Workload Automation - Automation EngineAUTOMIC WORKLOAD AUTOMATION
Issue/Introduction
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.
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.