My requirment is that If my Job "B" fails the Job "C" should be run but the sequence should be restartable from job "B" . That means whatever the result of Job "B" the job "C" should always run , and sequence should be restartable from Job "B" as job "B" has failed.
A---->D
Execption Handler----->Terminator
D= B ------>C
------>C----->Terminator Activity
Make the first sequence job that contains A and D restartable. And the second one remains without having the restartability.
In the second sequence, from B to C, the trigger will be OK and for the second it will be 'Aborted'.
This way if job B aborts, it will still run job C and then terminate the sequence, which will send a red signal to your first sequence which will cause that to abort as well. Stick in an exception handler connected to Terminator stage in your first sequence to abort which sequence D aborts. This will leave your first sequence in a restartable state as well as run job C regardless of the status of Job B.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
I am using Check point in the sequence. I removed check point from the Job C . Trigger for the Terminator Activity I have customed the condtion to check the failed status of job B. So even job B fails ..it runs Job C and then aborts the sequence using terminator activity . So when I restart the sequence It starts from Job B and then again rerun the Job C.
Putting Unconditional trigger will always abort my job after running the job C . But what I need is If Job B fails ,run the Job C and then only aborts the sequence . If Job B is run succesfully then Run job C and End the sequence as completed succesfully. Correct me if I am wrong .
An 'unconditional' trigger between B and C just says to run C regardless of what happens to B. Nothing more, nothing less. That's the only point I was making here.
-craig
"You can never have too many knives" -- Logan Nine Fingers