Profiles
Profiles are used to enable the extract processes within the Transaction Server. These profiles contain instructions on what kind of data to extract and how to process the data. The extraction profile can contain multiple profiles for extracting different kinds of data. Each profile must start with a profile element.
profile Element
| Attribute | Required | Values or example | Description |
|---|---|---|---|
| type | Yes | type="" Note: Other extraction types are to
be defined later.
|
Identifies the type of extraction for which this profile is to be used. |
| name | Yes | name="My extraction profile" Note: Maximum of 50
characters
|
Unique name given to this profile for identification purposes. |
| exec | Yes | exec= | Name of the Java™ implementation class that is to perform the extract. |
| parameterSet | No | parameterSet="my parameters" |
The name of the parameterSet element that is defined. |
sources Element
| Source type | Description |
|---|---|
| 2 | Electronic file |
| 3 | Gateway message queue |
| 4 | Business Rules |
During the extraction process, the extraction only considers extracting batches (ICLs) that come into the Transaction Server by any one of the defined source types.
<sources>
<type>2</type>
<type>3</type>
</sources>collectionTypes Element
The collectionTypes element contains a list of valid collection types to include for this extraction profile. Each valid collection type is defined using a type element. Any batch (ICL) that is available for extraction must belong to one of the listed collection types before it is considered to be extracted.
<collectionTypes>
<type>0</type>
<type>4</type>
<type>9</type>
</collectionTypes>sortPatterns Element
The sortPatterns element contains a list of sort patterns to include for this extraction profile. Each sort pattern is defined using a pattern element. Any batch (ICL) that is available for extraction must belong to one of the listed patterns before it is considered to be extracted.
<sortPatterns>
<pattern>108</pattern>
<pattern>205</pattern>
</sortPatterns>conditions Element
The conditions element contains a list of valid states to which a batch (ICL) must be set before it is considered to be extracted. Each valid condition is defined using a column element. The value of the column element must be a valid database column found in the presentment database table and must be defined using a timestamp data type. In order for a condition to be satisfied, the value for the specified column must not be null (containing a valid time stamp). All of the defined conditions must be satisfied for a batch (ICL) before it is considered for extraction.
<conditions>
<column>LOADED</column>
<column>REPAIRED</column></conditions>fileTypes Element
The fileTypes element contains a list of transmission type IDs to include for this extraction profile. Each transmission type ID is defined using a type element. Any batch (ICL) that is available for extraction must have one of the listed transmission types before it is considered for extraction. Transmission type IDs are defined in the File_type table.
<fileTypes>
<type>6</type>
<type>7</type>
</fileTypes>aggregationRules Element
| Attribute | Required | Values or example | Description |
|---|---|---|---|
| type | Yes | type="single presentment"
|
Identifies the type of aggregation the extraction is to follow. Valid values are:
|
<aggregationRules type="single presentment">
</aggregationRules><aggregationRules type="presentment group">
</aggregationRules><aggregationRules type="rule based">
<rule name="My rule">
.
.
</rule>
</aggregationRules><rule name="My rule">
.
.
</rule>groupSortPatterns Element
The groupSortPatterns element indicates whether the sort patterns are treated as if they
are uniform for the entire transmission. This element requires that the aggregation rules type attribute be
set to presentment group and at least one sort pattern be defined.
<aggregationRules type="presentment group">
<groupSortPatterns value="true"/>
</aggregationRules>key element
| Attribute | Required | Values or example | Default | Description |
|---|---|---|---|---|
| originType | No | originType="1" |
All origin types | Identifies the type of the origins that are found in this key
element. Valid values for the origin type are:
|
<aggregationRules type="rule based">
<rule name="My rule">
<key originType="1">
<origin>AAAA</origin>
<origin>BBBB</origin>
<origin>CCCC</origin>
</key>
<key>
<origin>DFDDD</origin>
</key>
</rule>
</aggregationRules>