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:
![*](bullet.gif)
Timestamp of the event
![*](bullet.gif)
Internal Document ID
![*](bullet.gif)
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:
![*](bullet.gif)
Timestamp when the batch is delivered
![*](bullet.gif)
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:
![*](bullet.gif)
Timestamp of the event
![*](bullet.gif)
Internal Document ID
![*](bullet.gif)
Sender ID
![*](bullet.gif)
Receiver ID
![*](bullet.gif)
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:
![*](bullet.gif)
Timestamp of the event
![*](bullet.gif)
Internal Document ID
![*](bullet.gif)
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:
![*](bullet.gif)
Internal Document ID
![*](bullet.gif)
Timestamp of the event
![*](bullet.gif)
Timestamp when the document was last processed
![*](bullet.gif)
Type ID for the document type
![*](bullet.gif)
Document ID
![*](bullet.gif)
Sender ID
![*](bullet.gif)
Receiver ID
![*](bullet.gif)
Group ID to which the document belongs
![*](bullet.gif)
Conversation ID for the document’s conversation
![*](bullet.gif)
System status of the document. The possible values are:
![*](bullet.gif)
NEW
![*](bullet.gif)
DONE
![*](bullet.gif)
ABORTED
![*](bullet.gif)
DONE W/ERRORS
![*](bullet.gif)
POLLABLE
![*](bullet.gif)
QUEUED
![*](bullet.gif)
ACCEPTED
![*](bullet.gif)
ACCEPTED W/ERRORS
![*](bullet.gif)
RESUBMITTING
![*](bullet.gif)
REPROCESSING
![*](bullet.gif)
RESUBMITTED
![*](bullet.gif)
REPROCESSED
![*](bullet.gif)
RESUBMITTED AND ABORTED
![*](bullet.gif)
REPROCESSED AND ABORTED
![*](bullet.gif)
RESUBMITTED W/ERROR
![*](bullet.gif)
REPROCESSED W/ERROR
![*](bullet.gif)
NOT ROUTED
![*](bullet.gif)
User status of the document
![*](bullet.gif)
Custom attributes
![*](bullet.gif)
Indication that the document is saved to the
Trading Networks database
![*](bullet.gif)
Indication that the document is large
![*](bullet.gif)
Original Sender ID
![*](bullet.gif)
Original Receiver ID
![*](bullet.gif)
Number of times the document has been reprocessed or resubmitted
![*](bullet.gif)
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:
![*](bullet.gif)
Internal Document ID
![*](bullet.gif)
Queue where the documents are placed
![*](bullet.gif)
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:
![*](bullet.gif)
Task ID
![*](bullet.gif)
Internal Document ID
![*](bullet.gif)
Server on which the process is running
![*](bullet.gif)
Time to wait between retries
![*](bullet.gif)
Number of retries
![*](bullet.gif)
Retry limit
![*](bullet.gif)
Status of the delivery process. The possible values are:
![*](bullet.gif)
DONE
![*](bullet.gif)
FAILED
![*](bullet.gif)
NEW
![*](bullet.gif)
DELIVERING
![*](bullet.gif)
PENDING
![*](bullet.gif)
STOPPED
![*](bullet.gif)
QUEUED
![*](bullet.gif)
HELD
![*](bullet.gif)
Timestamp when the delivery process was created
![*](bullet.gif)
Timestamp when the status of the delivery process was last updated
![*](bullet.gif)
Indication if the completed delivery process is a success or a failure
![*](bullet.gif)
Message indicating the success of a delivery process, or reason for failure
![*](bullet.gif)
Time taken to deliver the document in milliseconds
![*](bullet.gif)
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:
![*](bullet.gif)
Timestamp of the event
![*](bullet.gif)
Internal Document ID
Relate Documents. Trading Networks publishes this event when it establishes a one-way relationship between two documents.
Information published:
![*](bullet.gif)
Timestamp of the event
![*](bullet.gif)
Internal Document IDs of the two documents
![*](bullet.gif)
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:
![*](bullet.gif)
Internal Document ID
![*](bullet.gif)
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:
![*](bullet.gif)
Internal Document ID
![*](bullet.gif)
Timestamp of the event
Routing Rule Selected. Trading Networks publishes this event when it matches a routing rule with an incoming document.
Information published:
![*](bullet.gif)
Timestamp of the event
![*](bullet.gif)
Internal Document ID
![*](bullet.gif)
Name of the routing rule
![*](bullet.gif)
Post-processing actions. The possible values are:
![*](bullet.gif)
execute.a.service
![*](bullet.gif)
deliver.document.by
![*](bullet.gif)
change.user.status
![*](bullet.gif)
alert.email
![*](bullet.gif)
respond.with
Send Document. Trading Networks publishes this event when it sends a document over a transport protocol.
Information published:
![*](bullet.gif)
Timestamp of the event
![*](bullet.gif)
Internal Document ID
![*](bullet.gif)
Transport Protocol. The possible values are:
![*](bullet.gif)
POLL
![*](bullet.gif)
QUEUE_DELIV
![*](bullet.gif)
RECEIVERS_QUEUE
![*](bullet.gif)
PREFERRED
![*](bullet.gif)
PRIMARY_HTTP
![*](bullet.gif)
PRIMARY_HTTPS
![*](bullet.gif)
PRIMARY_EMAIL
![*](bullet.gif)
PRIMARY_FTP
![*](bullet.gif)
PRIMARY_FTPS
![*](bullet.gif)
SECONDARY_HTTP
![*](bullet.gif)
SECONDARY_HTTPS
![*](bullet.gif)
SECONDARY_EMAIL
![*](bullet.gif)
SECONDARY_FTP
![*](bullet.gif)
SECONDARY_FTPS
![*](bullet.gif)
BATCH_FTP
Service Invoke. Trading Networks publishes this event when it invokes a service for processing a document.
Information published:
![*](bullet.gif)
Timestamp of the event
![*](bullet.gif)
Internal Document ID
![*](bullet.gif)
Method of service invocation. The possible values are:
![*](bullet.gif)
ASYNC
![*](bullet.gif)
SYNC
![*](bullet.gif)
RELIABLE
![*](bullet.gif)
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:
![*](bullet.gif)
Timestamp of the event
![*](bullet.gif)
Internal Document ID
![*](bullet.gif)
Job ID
![*](bullet.gif)
Indication if the job is held
![*](bullet.gif)
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:
![*](bullet.gif)
Timestamp of the event
![*](bullet.gif)
Internal Document ID
![*](bullet.gif)
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:
![*](bullet.gif)
Job ID
![*](bullet.gif)
Timestamp of the event
![*](bullet.gif)
Action performed. The possible values are:
![*](bullet.gif)
Restart
![*](bullet.gif)
Stop
![*](bullet.gif)
Reassign
![*](bullet.gif)
Remove
![*](bullet.gif)
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:
![*](bullet.gif)
Timestamp of the event
![*](bullet.gif)
Internal Document ID
![*](bullet.gif)
New user status of the document
Validation. Trading Networks publishes this event when it validates a document against a specified schema.
Information published:
![*](bullet.gif)
Timestamp of the event
![*](bullet.gif)
Internal Document ID
![*](bullet.gif)
Validation status (success or failure)
![*](bullet.gif)
Error messages in case of failure
Verification. Trading Networks publishes this event when it verifies the digital signature of a document.
Information published:
![*](bullet.gif)
Timestamp of the event
![*](bullet.gif)
Internal Document ID
![*](bullet.gif)
Verification status (success or failure)
![*](bullet.gif)
Error messages in case of failure