wm.tn.task:reassign
Moves all tasks that have not yet completed from one server to another when using Trading Networks is in a clustered server environment.
Input Parameters
fromServer | String Host name of the server from which to move tasks. |
toServer | String Host name of the server to which to move tasks. |
includeFailed | String (optional) Whether to include failed tasks with those tasks that are reassigned. Valid values are: true - Include failed tasks with those that are reassigned. That is, tasks with any of these status values are reassigned: NEW, PENDING, STOPPED, QUEUED, DELIVERING or FAILED. false - Default. Do not include failed tasks with those tasks that are reassigned. |
Output Parameters
count | String The number of tasks that were reassigned. |
Usage Notes
![*](chapterTOC_bullet.png)
The value of the
fromServer input variable should exactly match the value of the
ServerId field of the tasks to reassign. View the task from
My webMethods to verify this value.
![*](chapterTOC_bullet.png)
The value of the
toServer input variable should exactly match the value of the
ServerId field of tasks on the target server. View the task from
My webMethods to verify this value.