Hi,
I have three job activity connected to a Sequencer and another jobactivity following that.
I need to make the sequence to wait for all the jobs to finish either OK or with Warnings. Then I need to trigger the next job.
I can give All as condition.
What should I give in Trigger condition in 3 jobs. If I put unconditional, if even the jobs fails, the sequence will trigger the following jobs. It shouldnt happen. If I give OK, it won't accept warnings. So to give Finishe OK or Warnings?
Seqeunce Trigger Expression
Moderators: chulett, rschirm, roy
Re: Seqeunce Trigger Expression
You can cutomize the trigger to make it..Finished Ok or Finished with Warnings..Or you canjust mention that the Job 3 should be triggerred if none of the previous of FAILED
You can do this by making the trigger custom conditional..and setting expression as <JobActivityName>.$JobStatus <> 1
Hope this helps !
You can do this by making the trigger custom conditional..and setting expression as <JobActivityName>.$JobStatus <> 1
Hope this helps !
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Each job activity should have a Custom trigger firing on finished OK or finished with warnings.
Code: Select all
JobA.$JobStatus = DSJS.RUNOK Or JobA.$JobStatus = DSJS.RUNWARN
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
In 7.0 you have to type in the name of the activity, a "." character then the name of the activity variable, for example $JobStatus or $UserStatus. There is no point-and-click available in version 7.0 alas.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.