sequence job restarting problem
Moderators: chulett, rschirm, roy
sequence job restarting problem
I have a sequence of jobs in my main job named "abc". I if any one of my job in my main job aborts, i want the main job to run from that particular point it got aborted, if i restart the main job. is this possible. if so please let me know the solution.
Since the job status is (Finished with warnings), it is considered as finished unless the warning is promoted to fatal Error.DSguru2B wrote:Restart will happen only upon failure. If you job finishes with warnings, the DSEngine will consider it "a finished" job and run from the next job onwards. Just to give you a heads up
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
How do we promote the warnings as fatal. Even a single error I want to have the job to abort.Since the job status is (Finished with warnings), it is considered as finished unless the warning is promoted to fatal Error.
Right now I have
a) Execution Action :Reset if required, then run
b) Triggers : Expression Type : OK - (Conditional)
c) Checked
- Add checkpoints so sequence is restartable on failure
- Automatically handle activities that fail
- Log warnings after activities that finish with status other than OK
- Log report messages after each job run
Still I do get the error as Finished (with warnings) instead of abort
Re: sequence job restarting problem
No, if you reset the job then it will run from start. What you need to do is run it again without reseting and it will continue from where it left off. This is assuming that you check of that the job is restartable in the job properties window.ds_team wrote:if i restart the main job. is this possible.
Mike
Right now I have
a) Execution Action :Reset if required, then run
b) Triggers : Expression Type : OK - (Conditional)
c) Checked
- Add checkpoints so sequence is restartable on failure
- Automatically handle activities that fail
- Log warnings after activities that finish with status other than OK
- Log report messages after each job run
Even if I have the above set up. I am still finding "Finished with Warnings". And when I run the sequence it starts from the beginning.Yes I have set the warning limit as 1 in the director
I have looked at the job activity and its neighbouring job activities to check whether I have done everything (ie. a & b) as in first quote. Its look ok, but I am unable to understand why I am obtaining finished with warnings.
Note.: this was in a sequence calling a sequence which in turn calls a sequence.[/quote]
A little lost. You don't understand where the warnings are coming from? Or are you trying to get it to abort so that your Sequence is restartable, but only get warnings instead?mystuff wrote:Its look ok, but I am unable to understand why I am obtaining finished with warnings.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers