Run-Time Events
Trading Networks publishes the following run-time events:
Alert Email. Trading Networks can be configured to send alert emails. It publishes this event when it sends an alert email to a contact in the sender’s or receiver’s profile.
Information published:
![*](chapterTOC_bullet.png)
Timestamp of the event
![*](chapterTOC_bullet.png)
Internal Document ID
![*](chapterTOC_bullet.png)
Email address of the sender or receiver
Batch Delivery Complete. Trading Networks publishes this event when it delivers a batch of documents present in a queue, at a scheduled time.
Information published:
![*](chapterTOC_bullet.png)
Timestamp when the batch is delivered
![*](chapterTOC_bullet.png)
Queue where the documents are placed
Document Attribute Added. Trading Networks publishes this event when a new attribute is added to a document or an existing attribute in a document is updated.
Information published:
![*](chapterTOC_bullet.png)
Timestamp of the event
![*](chapterTOC_bullet.png)
Internal Document ID
![*](chapterTOC_bullet.png)
Sender ID
![*](chapterTOC_bullet.png)
Receiver ID
![*](chapterTOC_bullet.png)
Custom attributes (ID and value of the attribute added or updated)
Document Persisted. A document can be processed using a processing rule, or simply saved to the
Trading Networks database.
Trading Networks publishes this event when it saves a document to its database.
Information published:
![*](chapterTOC_bullet.png)
Timestamp of the event
![*](chapterTOC_bullet.png)
Internal Document ID
![*](chapterTOC_bullet.png)
Indication if the document is saved to the
Trading Networks database
Document Processing Complete. Trading Networks publishes this event when it completes processing a document.
Information published:
![*](chapterTOC_bullet.png)
Internal Document ID
![*](chapterTOC_bullet.png)
Timestamp of the event
![*](chapterTOC_bullet.png)
Timestamp when the document was last processed
![*](chapterTOC_bullet.png)
Type ID for the document type
![*](chapterTOC_bullet.png)
Document ID
![*](chapterTOC_bullet.png)
Sender ID
![*](chapterTOC_bullet.png)
Receiver ID
![*](chapterTOC_bullet.png)
Group ID to which the document belongs
![*](chapterTOC_bullet.png)
Conversation ID for the document’s conversation
![*](chapterTOC_bullet.png)
System status of the document. The possible values are:
![*](chapterTOC_bullet.png)
NEW
![*](chapterTOC_bullet.png)
DONE
![*](chapterTOC_bullet.png)
ABORTED
![*](chapterTOC_bullet.png)
DONE W/ERRORS
![*](chapterTOC_bullet.png)
POLLABLE
![*](chapterTOC_bullet.png)
QUEUED
![*](chapterTOC_bullet.png)
ACCEPTED
![*](chapterTOC_bullet.png)
ACCEPTED W/ERRORS
![*](chapterTOC_bullet.png)
RESUBMITTING
![*](chapterTOC_bullet.png)
REPROCESSING
![*](chapterTOC_bullet.png)
RESUBMITTED
![*](chapterTOC_bullet.png)
REPROCESSED
![*](chapterTOC_bullet.png)
RESUBMITTED AND ABORTED
![*](chapterTOC_bullet.png)
REPROCESSED AND ABORTED
![*](chapterTOC_bullet.png)
RESUBMITTED W/ERROR
![*](chapterTOC_bullet.png)
REPROCESSED W/ERROR
![*](chapterTOC_bullet.png)
NOT ROUTED
![*](chapterTOC_bullet.png)
User status of the document
![*](chapterTOC_bullet.png)
Custom attributes
![*](chapterTOC_bullet.png)
Indication that the document is saved to the
Trading Networks database
![*](chapterTOC_bullet.png)
Indication that the document is large
![*](chapterTOC_bullet.png)
Original Sender ID
![*](chapterTOC_bullet.png)
Original Receiver ID
![*](chapterTOC_bullet.png)
Number of times the document has been reprocessed or resubmitted
![*](chapterTOC_bullet.png)
Indication that the document has been reprocessed or resubmitted
Enqueue Document. Trading Networks publishes this event when it places a document in a queue, to be delivered later.
Information published:
![*](chapterTOC_bullet.png)
Internal Document ID
![*](chapterTOC_bullet.png)
Queue where the documents are placed
![*](chapterTOC_bullet.png)
Timestamp of the event
Immediate Delivery Complete. Trading Networks publishes this event when it delivers a document directly to the receiving partner. It uses the reliable delivery approach where it makes repeated attempts to deliver the document. This event occurs whether the delivery is a success or a failure.
Information published:
![*](chapterTOC_bullet.png)
Task ID
![*](chapterTOC_bullet.png)
Internal Document ID
![*](chapterTOC_bullet.png)
Server on which the process is running
![*](chapterTOC_bullet.png)
Time to wait between retries
![*](chapterTOC_bullet.png)
Number of retries
![*](chapterTOC_bullet.png)
Retry limit
![*](chapterTOC_bullet.png)
Status of the delivery process. The possible values are:
![*](chapterTOC_bullet.png)
DONE
![*](chapterTOC_bullet.png)
FAILED
![*](chapterTOC_bullet.png)
NEW
![*](chapterTOC_bullet.png)
DELIVERING
![*](chapterTOC_bullet.png)
PENDING
![*](chapterTOC_bullet.png)
STOPPED
![*](chapterTOC_bullet.png)
QUEUED
![*](chapterTOC_bullet.png)
HELD
![*](chapterTOC_bullet.png)
Timestamp when the delivery process was created
![*](chapterTOC_bullet.png)
Timestamp when the status of the delivery process was last updated
![*](chapterTOC_bullet.png)
Indication if the completed delivery process is a success or a failure
![*](chapterTOC_bullet.png)
Message indicating the success of a delivery process, or reason for failure
![*](chapterTOC_bullet.png)
Time taken to deliver the document in milliseconds
![*](chapterTOC_bullet.png)
Fully qualified service name
Queue for Polling. Queue for polling is the default delivery method.
Trading Networks publishes this event when it places a document in a queue, saves the document to its database, and sets the document’s processing status to POLLABLE. When a partner polls for documents,
Trading Networks delivers all documents in the queue for which the partner is the receiver.
Information published:
![*](chapterTOC_bullet.png)
Timestamp of the event
![*](chapterTOC_bullet.png)
Internal Document ID
Relate Documents. Trading Networks publishes this event when it establishes a one-way relationship between two documents.
Information published:
![*](chapterTOC_bullet.png)
Timestamp of the event
![*](chapterTOC_bullet.png)
Internal Document IDs of the two documents
![*](chapterTOC_bullet.png)
Relationship shared between the documents
Reprocess Document. Trading Networks publishes this event when a document is sent back through processing rules to be reprocessed.
Information published:
![*](chapterTOC_bullet.png)
Internal Document ID
![*](chapterTOC_bullet.png)
Timestamp of the event
Resubmit Document. Trading Networks publishes this event when a document is resubmitted, to be processed as a new document.
Information published:
![*](chapterTOC_bullet.png)
Internal Document ID
![*](chapterTOC_bullet.png)
Timestamp of the event
Routing Rule Selected. Trading Networks publishes this event when it matches a routing rule with an incoming document.
Information published:
![*](chapterTOC_bullet.png)
Timestamp of the event
![*](chapterTOC_bullet.png)
Internal Document ID
![*](chapterTOC_bullet.png)
Name of the routing rule
![*](chapterTOC_bullet.png)
Post-processing actions. The possible values are:
![*](chapterTOC_bullet.png)
execute.a.service
![*](chapterTOC_bullet.png)
deliver.document.by
![*](chapterTOC_bullet.png)
change.user.status
![*](chapterTOC_bullet.png)
alert.email
![*](chapterTOC_bullet.png)
respond.with
Send Document. Trading Networks publishes this event when it sends a document over a transport protocol.
Information published:
![*](chapterTOC_bullet.png)
Timestamp of the event
![*](chapterTOC_bullet.png)
Internal Document ID
![*](chapterTOC_bullet.png)
Transport Protocol. The possible values are:
![*](chapterTOC_bullet.png)
POLL
![*](chapterTOC_bullet.png)
QUEUE_DELIV
![*](chapterTOC_bullet.png)
RECEIVERS_QUEUE
![*](chapterTOC_bullet.png)
PREFERRED
![*](chapterTOC_bullet.png)
PRIMARY_HTTP
![*](chapterTOC_bullet.png)
PRIMARY_HTTPS
![*](chapterTOC_bullet.png)
PRIMARY_EMAIL
![*](chapterTOC_bullet.png)
PRIMARY_FTP
![*](chapterTOC_bullet.png)
PRIMARY_FTPS
![*](chapterTOC_bullet.png)
SECONDARY_HTTP
![*](chapterTOC_bullet.png)
SECONDARY_HTTPS
![*](chapterTOC_bullet.png)
SECONDARY_EMAIL
![*](chapterTOC_bullet.png)
SECONDARY_FTP
![*](chapterTOC_bullet.png)
SECONDARY_FTPS
![*](chapterTOC_bullet.png)
BATCH_FTP
![*](chapterTOC_bullet.png)
PRIMARY SFTP
![*](chapterTOC_bullet.png)
SECONDARY SFTP
Service Invoke. Trading Networks publishes this event when it invokes a service for processing a document.
Information published:
![*](chapterTOC_bullet.png)
Timestamp of the event
![*](chapterTOC_bullet.png)
Internal Document ID
![*](chapterTOC_bullet.png)
Method of service invocation. The possible values are:
![*](chapterTOC_bullet.png)
ASYNC
![*](chapterTOC_bullet.png)
SYNC
![*](chapterTOC_bullet.png)
RELIABLE
![*](chapterTOC_bullet.png)
Fully qualified service name
Start Delivery. Trading Networks publishes this event when it starts to deliver a document or a batch of documents.
Information published:
![*](chapterTOC_bullet.png)
Timestamp of the event
![*](chapterTOC_bullet.png)
Internal Document ID
![*](chapterTOC_bullet.png)
Job ID
![*](chapterTOC_bullet.png)
Indication if the job is held
![*](chapterTOC_bullet.png)
Queue where the documents are placed
System Status Changed. System Status refers to the processing status of a document.
Trading Networks publishes this event when it changes the processing status of a document, for example, NEW.
Information published:
![*](chapterTOC_bullet.png)
Timestamp of the event
![*](chapterTOC_bullet.png)
Internal Document ID
![*](chapterTOC_bullet.png)
New system status of the document
Task Action. Trading Networks publishes this event when it performs an action on a delivery task related to a document.
Information published:
![*](chapterTOC_bullet.png)
Job ID
![*](chapterTOC_bullet.png)
Timestamp of the event
![*](chapterTOC_bullet.png)
Action performed. The possible values are:
![*](chapterTOC_bullet.png)
Restart
![*](chapterTOC_bullet.png)
Stop
![*](chapterTOC_bullet.png)
Reassign
![*](chapterTOC_bullet.png)
Remove
![*](chapterTOC_bullet.png)
New server to which the job is reassigned
User Status Changed. User Status refers to a user-defined status of a document, for example, Accepted.
Trading Networks publishes this event when it changes the user status of a document.
Information published:
![*](chapterTOC_bullet.png)
Timestamp of the event
![*](chapterTOC_bullet.png)
Internal Document ID
![*](chapterTOC_bullet.png)
New user status of the document
Validation. Trading Networks publishes this event when it validates a document against a specified schema.
Information published:
![*](chapterTOC_bullet.png)
Timestamp of the event
![*](chapterTOC_bullet.png)
Internal Document ID
![*](chapterTOC_bullet.png)
Validation status (success or failure)
![*](chapterTOC_bullet.png)
Error messages in case of failure
Verification. Trading Networks publishes this event when it verifies the digital signature of a document.
Information published:
![*](chapterTOC_bullet.png)
Timestamp of the event
![*](chapterTOC_bullet.png)
Internal Document ID
![*](chapterTOC_bullet.png)
Verification status (success or failure)
![*](chapterTOC_bullet.png)
Error messages in case of failure