Restart and Resume Flow services
IBM webMethods Integration allows you to restart or resume failed Flow service executions. If an execution fails, you can resume that execution from the point where it had failed. Resuming an execution does not execute the previously successful operations but executes only the failed operations and operations that are not yet executed. When a flow service execution is restarted, the execution occurs from the beginning.
-
The Restart and Resume options are available upon request for a tenant. Contact IBM support.
-
The Restart and Resume options are not available for flow services created through Swagger (REST APIs) and WSDL (SOAP APIs).
-
If a flow service is invoked through a Messaging subscriber then the Restart and Resume options are not applicable.
The following table provides information on when you can restart or resume a flow service execution:
| Execution Result Status | Restartable | Resumable |
|---|---|---|
| Successful Executions | Yes | No |
| Failed Executions | Yes | Yes |
| Completed with Errors | Yes | No |
| Running Executions | No | No |
-
You can restart one or multiple flow services as per your requirements.
-
If a flow service has only the restart capability enabled, resuming it from the flow service Executions listing page will also trigger a restart of the execution instead of resuming from the point it failed in the previous run. >
-
The flow service executions list displays two buttons in the Actions column for the relevant execution: Restart and Resume.
How to restart a single Flow service
- From the IBM webMethods Integration navigation bar, click Projects. Select a project and then select Flow services.
- Click the ellipsis icon
available on the flow service
and select Overview. - On the Overview page, select the Enable Flow service to be restarted option. If the flow service is updated, you cannot restart its executions that have occurred before the update. Further, flow services using Operations and other flow services, which have fields of type Object in their signature, may not execute properly when restarted or resumed.
- Select the flow service and run it.
- Provide the input values, if needed, and then click Run.
- Go to the Monitor > Execution Results > Flow service Execution
page. Click on the execution log and on the execution details page, click the Restart option.
Alternatively, you can also restart the execution from the Monitor page.
Click on the Restart button displayed in the Actions
column.Note: The Flow Service Executions listing screen on the Monitor page displays two buttons named Restart and Resume in the Actions column. If a flow service has only the restart capability enabled, resuming it from the Flow Service Executions listing page will also trigger a restart of the execution instead of resuming from the point it failed in the previous run.
- Provide the input values, and then click Run to restart the execution from the beginning.
How to resume a single Flow Service
-
From the IBM webMethods Integration navigation bar, click Projects. Select a project and then select Flow services.
-
Click the ellipsis icon
available on the flow service
and select Overview. -
On the Overview page, select the Enable Flow service to be resumed option. Enabling this option increases the execution time of a flow service. If the flow service is updated, you cannot restart or resume its executions that have occurred before the update. Further, flow services using Operations and other flow services, which have fields of type Object in their signature, may not execute properly when resumed.
-
Select the flow service and run it.
-
Provide the input values, if needed, and then click Run.
-
Go to the Monitor > Execution Results > Flow service Execution page. Click on the execution log and on the execution details page, click the Resume option. Alternatively, you can also resume the execution from the Monitor page. Click on the Resume button displayed in the Actions column.
- Provide the input values, and then click Run to restart the execution from the beginning. Click the Resume option, edit the input data, and resume the execution from the point where it had failed in the previous run.
How to restart multiple flow services
You can select multiple successful or failed flow service executions to restart in just one click.
-
From the IBM webMethods Integration navigation bar, click Projects. Select a project and then select Flow services.
-
Click the ellipsis icon
available on the flow service
and select Overview. - On the Overview page, select the Enable Flow service to be restarted option. Enabling this option increases the execution time of a flow service. If the flow service is updated, you cannot restart or resume its executions that have occurred before the update. Further, flow services using Operations and other flow services, which have fields of type Object in their signature, may not execute properly when restarted or resumed.
- In the Executions table, select the checkbox beside the name of successful or failed flow service and click the Restart button.
- While restarting multiple flow service executions, if one of the selected flow services fail, you will need to make necessary changes to the corresponding flow service from the canvas only. Editing the input data is not supported when you restart multiple flow services.
- You can select a maximum of 150 flow service executions to restart at a time.