Jump to Conditional Flow using Custom Status There can be muliple scenario where you want your jobs to proceed depending on the outcome of your steps. For example, in case of our Corporate gifts shop, in case the automatic packaging of the gifts fails, we want some manual intervention to be done i.e. somebody should manually package the item. IF-ELSE IF loop for packaging: if packageStep fails then manualPackageStep else if packageStep executes successfully then sendOutForDelivery Entire code available at git repo: https://github.com/ricsr/spring-batch-demo/tree/exercise_06 Using SpringBatch you can achieve it as follows: Create you manualPacka...
Comments