The Spring Batch documentation does a pretty good job explaining how to correctly define a job with steps that pattern this:
call Step 1
if (some condition determined by a Decider) {
call Step 2
} ELSE {
call Step 3
}
However, I'm trying to achieve THIS in Java config:
call Step 1
if (some condition determined by a decider) {
call step 2
}
call step 3
call step 4
.. so on and so forth ..
and I think I might be misreading the API because I can't seem to get the conditional IF logic to behave as one would expect -- all that happens is when the decider evaluates to True it runs step 2 but never runs Step 3 .. and of course when the decider evaluates to false it runs only step 3. Does anybody have any examples for how to do a conditional step of this sort in Java config?