wm.tn.task:restartTask
Restarts a failed or stopped task.
Input Parameters
taskId | String The internal identifier of the task to restart. |
Output Parameters
None.
Usage Notes
![*](bullet.gif)
If
taskId is not valid, this service throws an exception.
![*](bullet.gif)
If the status of the specified task is not “FAILED” or “STOPPED,” this service throws an exception.
![*](bullet.gif)
Each task is associated with a single server.
taskId must be associated with the same server on which the task was started.
![*](bullet.gif)
You can only restart a failed or stopped task on the same server on which it was started.
![*](bullet.gif)
This service is set to disable service redirection. For more information, see
pub.cluster:disableServiceRedir in
webMethods Integration Server Built-In Services Reference.