Last Updated on
This feature allows a user to restart a batch instance from any desired location as defined among the options. There are different options from where a batch instance can be re-started. The batch only in some states can be restarted.
A batch instance can be restarted from the batch instance screen if the batch is in any of the following states:
If any batch is in any of the above mentioned states then it can be restarted. The restart options are available in the menu bar on Batch Instance Management screen.
For restarting a batch instance, first select the batch instance by selecting the row of the batch instance or by selecting multiple batches through the checkbox for each batch instance in the grid. After selecting single or multiple batches, click on the restart menu bar drop down and select the appropriate restart option. The below provided screenshot shows the restart menu options:
There are four restart options available as discussed below:
- Restart At Current Module: This feature restarts the selected batch instance(s) from their respective current modules. If there are multiple batches selected then each batch instance which is in any of the states from where batch instance can be restarted are restarted from their current module. For the batch instances which are not in state where batch instance can be restarted are left in their present state and are not restarted.
- Restart At Previous Module: This feature restarts the selected batch instance(s) from the last executed modules. If in batch class the workflow states following modules: Folder Import, Page Process, Document Assembly, Review Document etc and the batch is currently executing Document Assembly module. Then when this batch instance is restarted from previous module, then the batch will restart from Page Process module only. Similarly in case of multiple batches being restarted simultaneously, each batch will be restarted from their respective previous module.
- Restart At First Module: This feature restarts the selected batch instance(s) from the first module of the batch class in which the batch is executing. If there are multiple batches being executed simultaneously then all the batches will be restarted from the first module configured in the batch class.
- Restart At Selected Module: This feature restarts the selected batch instance(s) from the selected module present in the drop down. When selecting “Restart At Selected Module”, a drop down appears with a list of modules from where batch can be restarted. Any module selected from the dropdown, all batches are tried to be restarted from that selected module. If any batch cannot be restarted from the selected module, then that batch instance is restarted from the previous module similar to “Restart At Previous Module” functionality. If the batch fails to restart from that module also then that batch instance is restarted from the first module configured in that batch class.