cherokee
20th January 2009, 16:49
Hello everyone,

I want to run a session in a job with two different set of parameters but if the first one(B) runs, I do not want the second one(C) to run. So, I was planning to create a third(A) session and put it before these two sessions(the question comes here). I want the first session(A) run and depending of the logic I want to apply in to it, I want to force this session to fail (or set a flag) and and use the field: "skip on error field" to run the session I want depending on the outcome of the first session(A).

Something like this:

Session A if error run session C
Session B Skip to sessin D
Session C
Session D (dummy session if needed)

Any ideas? or a better approach?

Thanks in advance,

Hitesh Shah
20th January 2009, 18:46
Set this variable to true and give a message . The job will be set to errorneous with the message in Job history and accordingly skip on error / no error will work .

cherokee
20th January 2009, 20:31
Thank you for your help.

I think for what I need, that will do.