Hi,
I have a server job that is being called by a sequencer. I want to kill/Abort or stop the calling sequencer from the server job if a particular condition is not met in the server job. What would be the best way to do this ?
Thanks.
Kill Controlling job
Moderators: chulett, rschirm, roy
You don't want to do that. Either abort the Server job and then use a Terminator stage to stop the Sequence, or build something to detect this 'condition' in your Server job (userstatus, perhaps? DSGetLinkInfo? depends on the nature of this condition) and do the same. Both downstream of the Job Activity. Or let the Sequence 'automatically handle activities that fail' based on your triggers.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
Ideally I wouldnt want to, but there are a lot of existing sequencers that need to be changed in that case. There is a common multiple instance job that runs in many sequencers and by aborting the sequence by killing it from the multiple instance server job will avoid me having to change all the sequencers. If I could deviate from the best pratices for the greater good of time saved with changing legacy jobs, what would be the best approach ?
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
I have added additonal functionality to an existing multiple instance job used in all our sequencers which was not foreseen as well not in the scope of the project at the time. This new functionality put added requirements on the sequencer and I was hoping to find the least invasive procedure to be able to acheive the goals set forth. But looks like changing the sequencers is the only way out. We are talking about 120 sequencers. It shouldnt be that bad.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: