HI
Try using BLOCKED instead of ABORT task. Also check if the successor and predecessors are set properly
------------------------------
Thanks Shravani
------------------------------
Original Message:
Sent: 09-09-2019 03:39 PM
From: Ugandhar Palamasi
Subject: Abort Job Based on Condition
Hi All,
We are using Automic release V9.2.2. I have a requirement to abort a job based on the file size generated. In my chain, I have 5 jobs. 3rd job will generate a reject file. 4th job, I want to check the size of the file and if it is greater than zero I wan to abort he chain and I don't want 5th job to be executed. Currently when I use the condition on the 4th job to set the "ABORT TASK", it is aborting the job 4, but it is not stopping the job 5. Is there any way I can achieve this?
Currently I have the condition as:
Job: AA_ECHO
Condition: Timing: Before Condition: user defined
Test:
If `cat file.txt | wc -c` > 0
Action:
Abort Task
Thanks Ug.