As per your code the master sequence will not be aboeted since you are handling the abort of inner sequence in form of a email.
If you check the Log Warnings check box in master sequence , you will get a warining message whenever your inner sequence si finished with status other than ok.
So if I send email in case of failure then master sequence will never show as aborted. In that case I will not have restartability feature for this sequence.
Note: Inner and outer , both sequences send mail in case of failure.
palak08 wrote:So if I send email in case of failure then master sequence will never show as aborted. In that case I will not have restartability feature for this sequence.
Yes , I think restartability will work only if a sequnce aborts not in other cases
You could follow the Notification activity with a Terminator to force the sub-sequence to abort. But you don't really need to - the parent sequence can detect if a sub-sequence finished with warnings, and can (be programmed to) react accordingly.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
major wrote:Yes , I think restartability will work only if a sequence aborts not in other cases
Correct. A Sequence job must have checkpoints enabled and have aborted to be in an Aborted/Restartable status which then means it can pick up from where it left off when you run it next. This regardless of it being a 'master' sequence or a 'sub' / 'child' sequence.
-craig
"You can never have too many knives" -- Logan Nine Fingers
Okay, So according to your suggestions I used terminator stage to abort a job after sending email.
Now when job fails then it shows status as aborted/restartable.
So after that I did following steps:
1. Changed failed job, compiled it.
2. Compiled the sequence job.
3. Ran sequence job
But when I run sequence job, it runs from first job again and not from where it failed.
Question: How to restart a sequence job from where it failed when status is aborted/restartable?
Thanks Ray.
I tried that option as well. It does not run. But when I put entire sequence inside Another sequence and run then it runs fine, even without reset if required,then run option.
ray.wurlod wrote:The Job activities that run the subsequences need to have "reset if required, then run" option selected. ...