How to use decider in Spring batch?
问题 I'm new to Spring batch. I've created a decider which returns a FlowExecutionStatus as "YES" / "NO". Based on the FlowExecutionStatus, I need to call step2() or step3(). In my below code, step2() is getting called before decider. How to modify the code so that decider will be called and based on the "FlowExecutionStatus" returned bu the decider, either step2() or step3() should be called. Please help. @Autowired private NumberDecider decider; @Bean public Job NumberLoaderJob() throws