Workflow ENDED_OK with failed single job

Document ID : KB000107861
Last Modified Date : 25/07/2018
Show Technical Document Details
Introduction:
If a job fails and it is the only job in the workflow, the workflow says "ENDED OK". However, if we add one or more jobs to the workflow and the same job fails, the workflow shows "Blocked" (as expected).
Background:
You may have another job(s) that is dependent on the success / failure of this workflow.
If the job within the workflow fails, but the workflows ends normally - it may incorrectly trigger a dependent job.
Instructions:
Please follow the following instructions:

- Open the workflow with the single job in AWI
- Right click on the END bubble - select properties
- In the "Time and Dependencies" section, under "ELSE (on status mismatch or latest time failure)" change value from "Skip" to "Abort" or "Block" depending on the requirement.
- Hit save