CEU Server Extract Service
Use this service to extract a batch from a Sterling Connect:Enterprise® mailbox. This service is triggered by a notification from Sterling Connect:Enterprise that a batch is in a particular mailbox.
About this task
When Sterling Connect:Enterprise notifies Sterling B2B Integrator, this is known as a scheduled notification. Sterling B2B Integrator can also perform unsolicited requests to extract batches from Sterling Connect:Enterprise using this service. Unsolicited requests are represented in Sterling Connect:Enterprise as remote connect sessions.
The following steps describe what happens when this service is used in a business process:
Procedure
- The Server Adapter initiates a business process in response to a notification (autoconnect) from Sterling Connect:Enterprise.
- The business process specifies to extract data from a Sterling Connect:Enterprise mailbox using the CEU Server Extract Service. This service works through the Server Adapter to accomplish the extraction.
- Using information in the notification, the Server Adapter extracts the batch matching the batch number and batch date/time in ProcessData as provided by this service.
- Sterling Connect:Enterprise sets the Transmitted (T) flag on the batch indicating that Sterling B2B Integrator extracted the batch.
- Sterling B2B Integrator adds a log entry into Sterling Connect:Enterprise that includes the business process ID for the event.
- The Server Adapter adds the batch into the business process as a primary document.
- The Message From Service displays the following batch details: Batch ID, Batch Number, Mailbox ID, Create Date and Time, Batch Size, Session ID, Batch Status Flags, and Sterling B2B Integrator Document ID.
- Sterling B2B Integrator sets the correlations between the business process that initiated the request and batch summary data from Sterling Connect:Enterprise, which includes: batch ID, mailbox ID, batch number, schedule definition name, and session ID. These correlations enable subsequent searches for this information using the Sterling B2B Integrator Advanced Search function.
- The system performs additional activities as indicated within the business process.
- The Sterling B2B Integrator business process requests to end the session with Sterling Connect:Enterprise.
- The Server Adapter ends the session and notifies Sterling Connect:Enterprise that the session is closed.