Trading Networks 10.3 | Administering and Using Trading Networks | Administering Trading Networks | Preparing for Document Delivery | Creating Custom Scheduled Delivery Services | Creating a Custom Scheduled Delivery Service
 
Creating a Custom Scheduled Delivery Service
 
Scheduled Delivery Service Inputs
Scheduled Delivery Service Outputs
Retrieving the Document Content to Deliver
Required Logic to Include in the Scheduled Delivery Service
Typical Logic to Include in the Scheduled Delivery Service
Handling Exceptions
The wm.tn.transport:batchFtp Built-in Service
A scheduled delivery service must act on a batch of delivery tasks. Your scheduled delivery service must retrieve each delivery task and act on it individually. It is the responsibility of the scheduled delivery service to retrieve each delivery task, deliver the document associated with the delivery task, and update the status of the delivery task
To perform these functions, your scheduled delivery service might have to take other actions as well. For example, your scheduled delivery service might need to open a connection to a remote machine before it delivers documents and close the connection after it has delivered all the documents. Trading Networks provides a single scheduled delivery service, the wm.tn.transport:batchFtp service, which you can use as a reference implementation to write your own scheduled delivery schedule. (The wm.tn.transport:batchFtp service opens a connection, delivers all the documents, and then closes the connection.)