Spring-Batch. Need to start a job from failed point, but once started it should be able to execute previous completed steps depending on condition -
i have scenario have 5 steps in sequence 1->2->3->4->5. depending on situation , exit status, re-route step 4 step 2. works fine when job started fresh. in scenario batch stopped @ step 4 , want restart job step 4, spring batch skips first 3 steps , jumps step 4 execution expected. issue comes when step 4 condition mets want re-route step 2, not executed job re-run , steps executed in last job.
so scenario skip steps first time , start ever failed should execute previous steps depending on condition.
please if 1 have come situation. in advance.
Comments
Post a Comment