Towards the end of this [document](https://github.com/spring-projects/spring-batch/blob/753a538a6979ab57c321c5bb6f5a5958b9130f5d/spring-batch-docs/src/main/asciidoc/job.adoc): it reads > ... no way to automate it. Change the status to FAILED only if it is not restartable or if you know the restart data is valid. where from the previous description, "only if it restartable" seems to make more sense.