B2B Integration 10.5 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Task Folder | Summary of Elements in this Folder | wm.tn.task:reassign
 
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
*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.
*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.

Copyright © 2016- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.