Job A calls Job B, Job B calls Job C. Using a parameter, I tried to set a Custom Conditional IF THEN ELSE so that if the parameter is set to bypass Job B Job A would call Job C.
I tried in Job A to say IF Parm = 1 THEN Job B ELSE Job C.
Is this possible and what is the command to execute the job that I would put in the IF statement?
Thanks
Job Sequence - Trigger Question
Moderators: chulett, rschirm, roy
Job Sequence - Trigger Question
Jim Stewart
You don't "call jobs" in triggers. By "call" do you mean they are linked in the Sequence job?
JobA -> JobB -> JobC
Are you looking for a way to conditionally skip JobB based on a parameter? If yes, I would use a Nested Condition with Sequencer stages for something like that.
![Confused :?](./images/smilies/icon_confused.gif)
JobA -> JobB -> JobC
Are you looking for a way to conditionally skip JobB based on a parameter? If yes, I would use a Nested Condition with Sequencer stages for something like that.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
Let me clarify this a bit more. Remove Job C from the mix.
Job A is the pre-sequence to Job B but is could be possible that Job B can be execute on its own.
It is also possible that job A or Job B could run on their own.
What I am trying to avoid is having duplicate Job Activities on the pallette. Using the Nested process, I am able to accomplish my logic but using duplicate activities. I was hoping to avoid this and somehow use the triggers
I though that I may be able to execute activities based on their name. This way I could call and bypass sequences.
If not, I will keep duplicate activities on the pallette.
Thanks
Job A is the pre-sequence to Job B but is could be possible that Job B can be execute on its own.
It is also possible that job A or Job B could run on their own.
What I am trying to avoid is having duplicate Job Activities on the pallette. Using the Nested process, I am able to accomplish my logic but using duplicate activities. I was hoping to avoid this and somehow use the triggers
I though that I may be able to execute activities based on their name. This way I could call and bypass sequences.
If not, I will keep duplicate activities on the pallette.
Thanks
Jim Stewart
As already noted use the Nested Condition. Based on the conditions run one or both of your succeeding jobs.
HTH
Code: Select all
|----> Job A
Nested Condition-----|
|----> Job B
Narasimha Kade
Finding answers is simple, all you need to do is come up with the correct questions.
Finding answers is simple, all you need to do is come up with the correct questions.
Job Scheduling
I have a job sequence that relies on entered parameters. I want to execute this job many times at the same scheduled time. I tried this and the last scheduled job is executed. All other are ignored. It doesn't look like the schedulers stacks the jobs as they are scheduled. Even though I enter the same time, should the jobs execute sequentially as entered.
Could someone please provide some insight.
Thanks
Could someone please provide some insight.
Thanks
Jim Stewart