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,
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,