X12Prescanner

Use the X12Prescanner activity to parse X12 document header (ISA/GS/ST) segments and put each element into a separate output field.

Example

Prescanning allows data to be scanned for information such as transaction type and trading partner group. This information can then be used to proceed with processing data in an appropriate manner. For example: If the X12 data contains a GS08 value of 005010X279A1 AND a GS01 value of HE, Instream should use the 271-X279 guideline for validation.

General

The General tab contains the following fields.

Field Literal Value/Module Property/Process Property? Description
Name No The name to be displayed as the label for the activity in the process.
Input Mode No Specifies where the input data is stored. There are two options: File and Memory. Memory is normally the most efficient way of connecting, but large documents should be stored as files.

Description

The Description tab is used to provide a short description for the activity.

Input

The Input tab contains the following fields.

Field Datatype Description
input string Specifies the file path and name of the input data file. (Required)
encoding string Specifies encoding type: UTF-8, UTF-16, UTF-16BE, UTF-16LE, ISO-8859-1.

Output

The Output tab contains the following fields.

Field Sub-Field Datatype
ISA AuthorizationInformationQualifier string
AuthorizationInformation string
SecurityInformationQualifier string
SecurityInformation string
InterchangeIDQualifier string
InterchangeSenderID string
InterchangeIDQualifier string
InterchangeReceiverID string
InterchangeDate string
InterchangeTime string
RepetitionSeperator string
ControlVersionNumber string
ControlNumber string
AcknowledgmentRequested string
InterchangeUsageIndicator string
CompomentElementSeperator string
GS IdentifierCode string
ApplicationSenderCode string
ApplicationReceiverCode string
Date string
Time string
GroupControlNumber string
ResponsibleAgencyCode string
Version string
ST TransactionSetIdentfierCode string
TransactionSetControlNumber string
ImplementationConventionReference string
HierarchicalStructureCode string
DescriptionTransactionSetPurposeCode string
FileInfo FileName string
FileSize integer

Fault

The Fault tab lists exceptions that are thrown by this activity.

Error Schema Element Datatype Description
msg string Error message description.
msgCode string The error code. It represents TIBCO ActiveMatrix BusinessWorks Plug-in for EDI and TIBCO Foresight errors.

See Error Codes for details.