Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Task Folder | Summary of Elements in this Folder | wm.tn.task:shutdown
 
wm.tn.task:shutdown
Shuts down the task engine.
Input Parameters
force
String Whether the service shuts down the task engine even if there are tasks pending. Valid values are:
*true Shuts down the task engine even if there are pending tasks.
*false Shuts down the task engine only if there are no pending tasks.
If the task engine shuts down, the service returns without an exception. If the service was unable to shut down the task engine, the service returns with an exception.
Output Parameters
None.
Usage Notes
If there are tasks pending and force is false, this service throws an exception.