Sequencer Scenario

Scenario- if suppose we have 3 jobs in sequencer, while running if job1 is failed then we have to run job2 and job 3 ,how we can run? plz ans this

thanks in advance

Questions by pavan.daddanalla   answers by pavan.daddanalla

Showing Answers 1 - 39 of 39 Answers

To run a job even if its previous job in the sequence is failed you need to go to the TRIGGER tab of that particular job activity in the sequence itself.
There you will find three fields:
Name: This is the name of the next link (link go in to the next job, e.g. for job activity 1 link name will be the link go in to job activity
2)Expression Type: This will allow you to trigger your next job activity based on the status you want. For example, if in case job 1 fails and you want to run the job 2 and job 3 then go to trigger properties of the job 1 and select expression type as "Failed - (Conditional)". This way you can run your job 2 even if your job 1 is aborted. There are many other options available.
Expression: This is editable for some options. Like for expression type "Failed" you can not change this field.
I think this will solve your problem.

tina123

  • Jul 10th, 2008
 

There are two possibilities,
1. The sequencer calls all the jobs in parallel
2. The sequencer calls all the jobs in serial
Parralel:
In this case even if one or two jobs fails the others will run (If u r using terminator activity then you have to select abort without sending STOP requests option)
Serail:
Select 'unconditional' in triggers which would call the next job unconditionally(even the first job completes or not).

If we select failed conditional in the trigger tab, the next job will be triggered only if the first job fails.

  Was this answer useful?  Yes

First you login in as adminstrator
In adminstrator select Sequencer
In Sequencer on option is there check list on sequence fail, if you click on this option you will get your requirement.

  Was this answer useful?  Yes

harikiran

  • Aug 26th, 2011
 

if you have a sequence job with 3 job activities like jobactivity 1, jobactivity2, jobactivity 3.

jobactivity 1--> jobactivity2--> jobactivity 3.

if you want to run the 3 job activities even if the first jobactivity fails for that you just give the condition in trigger as "unconditional". if you give like this, if even the first job is failed it doesn't abort the sequence jobs it goes to the remaining job activities to run.


regards
harikiran

  Was this answer useful?  Yes

SinhaS

  • Aug 30th, 2011
 

The question says "while running if job1 is failed then we have to run job2 and job 3". Job 2 and job 3 are supposed to run only if job 1 fails. As per your solution Job 2 and job 3 will run even if Job 1 succeeds.

  Was this answer useful?  Yes

Raju Nath

  • Sep 23rd, 2011
 

We can two sequence if any one failed between three jobs by using the option Any. There two options (i) Any (ii) All. So we have to use any option then two jobs will run.

  Was this answer useful?  Yes

ravi

  • Sep 24th, 2011
 

run the pending jobs manually and later update the control table if any

  Was this answer useful?  Yes

paramesh

  • Apr 26th, 2012
 

job activity1------>job activity2-------->jobactivity3....
Suppose my sequence is like this.....while running the 1st time job activity1 aborted....I want to run run the job from where the job is aborted......for that....I will set the property add check points option in job properties window...so the job is run again from where the job is aborted....

  Was this answer useful?  Yes

Anupa Acharya

  • May 15th, 2012
 

We will keep three Job Activities in Job Sequence , in first Job activity , we are calling Job1, there is an option as trigger(tab), we should select failed for conditional, so, if Job1 will fail it will trigger next job2, in the similar way we can call job3 if incase job2 failed.

  Was this answer useful?  Yes

Gopi N

  • Jul 11th, 2012
 

If the scenario we have like 1st is abort and then trigger 2nd and 3rd do the below,

give the trigger condition like,
1> If job aborted give the link trigger condition which is going to 2nd and 3rd job like status <>1

If job success the same u can give to execute the 2nd and 3rd job like Job status =0

If you need to stop after successful execution of 1st job give the trigger condition which not going to 2nd and 3rd jod like JOBSTATUS=0

Thanks,
GOPI N

  Was this answer useful?  Yes

In the first sequence trigger condition there would be option like condition, unconditional, failed etc. You can select Unconditional so that even if first sequence fails or succeed it automatically redirect to next sequence.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions