diff --git a/src/site/docbook/reference/step.xml b/src/site/docbook/reference/step.xml index 537dafc99..36a7708c4 100644 --- a/src/site/docbook/reference/step.xml +++ b/src/site/docbook/reference/step.xml @@ -305,7 +305,7 @@ itemWriter.write(items); successful the first time. An example might be a validation step, or a Step that cleans up resources before processing. During normal processing of a restarted job, any step with - a status of 'COMPLETED', meaning it has already been completed + a status of 'FINISHED', meaning it has already been completed successfully, will be skipped. Setting allow-start-if-complete to "true" overrides this so that the step will always run: @@ -1071,7 +1071,7 @@ itemWriter.write(items); files[i].getPath()); } } - return RepeatStatus.COMPLETED; + return RepeatStatus.FINISHED; } public void setDirectoryResource(Resource directory) {