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
If
taskId is not valid, this service throws an exception.
If the status of the specified task is not “FAILED” or “STOPPED,” this service throws an exception.
Each task is associated with a single server.
taskId must be associated with the same server on which the task was started.
You can only restart a failed or stopped task on the same server on which it was started.
This service is set to disable service redirection. For more information, see
pub.cluster:disableServiceRedir in
webMethods Integration Server Built-In Services Reference.