Trading Networks 10.7 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Task Folder | Summary of Elements in this Folder | wm.tn.task:changeServerForTask
 
wm.tn.task:changeServerForTask
Moves a task from one server to another when using Trading Networks in a clustered server environment.
Input Parameters
taskId
String The internal identifier for the task to move.
serverId
String Host name of the server to which to move the task.
Output Parameters
None
Usage Notes
*If taskId is not valid, the service throws an exception. For more information about reassigning tasks to another server, see webMethods Trading Networks User’s Guide.
*The wm.tn.task:changeServerForTask service invokes the wm.server:connect and wm.server:ping services. As installed, wm.server:connect and wm.server:ping are protected by the Anonymous ACL. To update the Anonymous ACL or use a different ACL to protect the wm.server:connect and wm.server:ping services, the wm.tn.task:changeServerForTask service may be unable to reassign the task.