I am seeing an issue with rerun of sequence job (with few new business logic implented) which got aborted forcefully by terminate sequence activity.
This is how the job flows. A master sequence sequence job executes 4 jobs. Our of these, 2 jobs unconditionally trigger a sequence job. There are 2 other jobs that executes unconditionally. This is the existing flow that is in place for a while. All the job activities are defined with Execution action as "reset if required, then run".
When the sequence got aborted focibly by the terminate seq (sending STOP requests to all running jobs), I see that the sequence that gets called by 2 of those jobs in STOPPED status. Hence, the subsequent rerun gets aborted telling that "Sequence is aborting due to previous unrecoverable errors. There are stopped jobs"
When I manually reset that failed stopped sequence and rerun the master sequence, it completes successfully.
Issue with stopped jobs by terminate sequence
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 153
- Joined: Thu May 11, 2006 1:52 am
- Location: Bangalore
-
- Participant
- Posts: 153
- Joined: Thu May 11, 2006 1:52 am
- Location: Bangalore
Sorry if the post was vague. The question is why the rerun of the master sequence gets aborted indicating that there are stopped jobs in child sequence that it executed in the the previous run. I would expect that when the Execute Action is mentioned that reset if required, then run then all the stopped jobs by the terminate sequence activity will be reset and there won't be any issue on master sequence rerun.
Please correct me If I am wrong. Thanks!
Please correct me If I am wrong. Thanks!
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 153
- Joined: Thu May 11, 2006 1:52 am
- Location: Bangalore
-
- Participant
- Posts: 153
- Joined: Thu May 11, 2006 1:52 am
- Location: Bangalore
I don't know about 7.5, but in 8.x a job sequence with a status of "Stopped/restartable" isn't (restartable that is). My guess would be that the parent sequence doesn't reset the child sequence when it is in that status.sumesh.abraham wrote:The child sequence has a status "Stopped/restartable"
I only see a "Stopped/restartable" status when I do manual stops, so that "feature" (aka bug) hasn't concerned me.
Why not wait for jobs to finish before terminating the master sequence? They are independent from the activity that is aborting, so why stop them and lose whatever work they have accomplished?
Mike