B2B Integration 10.5 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Route Folder | Summary of Elements in this Folder | wm.tn.route:abort
 
wm.tn.route:abort
Aborts processing of the current document.
Input Parameters
message
String A message to log with the document that describes the reason for aborting the processing of the document.
saveDocument
String (optional) Whether to save the document for which processing is being aborted to the database. Valid values are:
*true - To save the document.
*false - Default. To not save the document.
procstat
String (optional) The processing status the service assigns to the aborted document (for example, “ABORTED”). There is no default. If you do not specify procstat, the processing status remains unchanged.
userstat
String (optional) The user status the service assigns to the aborted document (for example, “ABORTED”). There is no default. If you do not specify userstat, the user status remains unchanged.
Output Parameters
None.
Usage Notes
*Invoke this service when you do not want Trading Networks to perform the remainder of processing actions (for example Deliver document or Respond with) for a document.
*It is recommended that you specify true for saveDocument. This makes it easier to debug the conditions leading up to the abort if a trail of log messages is available. If Trading Networks has already saved the document before this service is invoked, specify false for saveDocument has no effect.

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.