Page 1 of 1

Job Sequencer Problem

Posted: Thu Dec 02, 2004 3:57 am
by arunverma
I have created one job sequencer where I am using job activity to call another job and that will triggred depend user status condition .

i.e .

UserStatus- (Conditional) = "Ok" Or "Warning" .

This means if Job1 give warning or Ok then triggre next job , but it is also trgring when Job No 1 Aborted .

Pl. help me how to handle this problem .


Regards

Arun Verma

Posted: Thu Dec 02, 2004 6:56 am
by chulett
Do you want literally USERSTATUS to be "Ok" or "Warning" because your first job does something to explicitly set it, or do you mean just the normal job status of ok or warning? :?

How are you setting the User Status? If that's really what you are using, then I'd suggest first thing in the job setting it to something else - like 'Abort' and then only set one of the other two when the job finishes.

In case you mean the normal Job Status, then use a 'Custom - (Conditional)' trigger:

Code: Select all

StageName.$JobStatus=1 Or StageName.$JobStatus=2
1= Ran Ok
2= Ran with Warnings
3= Aborted

Etc.

Posted: Thu Dec 02, 2004 7:00 am
by arunverma
Thanks chulett,

As per your suggestion , I have implemented in my application , now it's working fine .

Thanks and Regrards

Arun Verma