Straight Through Extraction Service
The Straight Through Extraction Service is used in a business process to specify what data that is used during process execution should be saved to the Visibility Services fact repository.
The following table provides an overview of the Straight Through Extraction service:
|System Name||Straight Through Extraction Service|
|Graphical Process Modeler (GPM) categories)||All Services|
|Description||The Straight Through Extraction Service is used in a business process to specify what data used during process execution should be saved to the Visibility Services fact repository|
|Business usage||This service enables data generated within Sterling B2B Integrator processing to be saved in a Visibility Services fact repository.|
|Usage example||This service allows a Visibility Services developer to specify data in process data that should be saved as Visibility Services facts. Based on the Event Schema ID specified in the service configuration, the specified data at that step in the business process will be saved to the Visibility Services data system.|
|Preconfigured?||Yes. A configuration of the service called StraightThroughExtraction is installed with Sterling B2B Integrator.|
|Requires third-party files?||No|
|Platform availability||All supported Sterling B2B Integrator platforms|
|Related services||Mapped Extraction service|
|Application requirements||The fact model referenced by this service must be created and checked in to Sterling B2B Integrator.|
|Initiates business processes?||Cannot initiate a business process.|
|Invocation||From a business process.|
|Business process context considerations||None|
|Returned status values||
Returned status values:
|Testing considerations||Ensure that the Visibility Services listeners are running. See About Event Listeners for more information.|
How the Straight Through Extraction Service Works
- The Visibility Services developer specifies data in process data that should be extracted for Visibility Services use.
- Based on the Event Schema ID specified in the service configuration, the specified data at that step in the business process will be saved to the Visibility Services fact repository.
Implementing the Straight Through Extraction Service
Use the supplied configuration of the service, StraightThroughExtraction, in your business processes.
The only configuration required for the service is specifying the Event Schema ID to be used for your business process. You specify this in the GPM.
Configuring the Straight Through Extraction Service
You must specify field settings in the GPM.
|Config||Select the name of the service configuration from the list. You can use the supplied configuration, StraightThroughExtraction.|
|eventschemaid||Event Schema ID|
Business Process Example
This sample calls the service configuration StraightThroughExtraction with eventschemaid “bi.system.logs”. The service will create an event using the value of eventschemaid as event schema key and all process data under /Processdata/EventAttributes as the event attributes and fire the event. The names under /Processdata/EventAttributes must satisfy the event schema specification.
<process name="sampleStraightThroughExtraction"> <sequence name="main seq"> <assign to="EventAttributes/message">this is message</assign> <assign to="EventAttributes/throwable">this is throwable</assign> <operation name="StraightThroughExtraction"> <participant name="StraightThroughExtraction"/> <output message="StraightThroughExtractionInputMessage"> <assign to="eventschemaid">bi.system.logs</assign> <assign to="." from="*"></assign> </output> <input message="inmsg"> <assign to="." from="*"></assign> </input> </operation> </sequence> </process>