Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Above is my current job design.
I want to run the job with 2 conditions:
1) if it is not a recovery load or the job not run on Monday, then exit the job with tJava_1 ( doing nothing but print out the message);
2) if it is a recovery load or the job runs on Monday, continue with weekly process.
tJava_5 ("Running Weekly Process?", circled in red) does nothing but print out a piece of message that you can see in screenshot.
I don't think anything is wrong with the code for two RunIf triggers. When the condition meets for Order2, the weekly process will run and then the job ends successfully. But when the condition meets for Order1, the job ended with error (shown in screenshot).
Can somebody help me out? Thank you!
@Moe , can you show what code you have in tJava_5? if you're evaluating some expression without handling null then you will get Null pointer exception.