Create schemas for tracking X12 messages in Azure Logic Apps
Article
8 minutes to read
Applies to: Azure Logic Apps (Consumption + Standard)
To help you monitor success, errors, and message properties for business-to-business (B2B) transactions, you can use these X12 tracking schemas in your integration account:
X12 transaction set tracking schema
X12 transaction set acknowledgment tracking schema
X12 interchange tracking schema
X12 interchange acknowledgment tracking schema
X12 functional group tracking schema
X12 functional group acknowledgment tracking schema
Name of the X12 agreement to which the messages are resolved
direction
Yes
Enum
Direction of the message flow, which is either receive or send
interchangeControlNumber
No
String
Interchange control number of the functional acknowledgment. The value populates only for the send side where functional acknowledgment is received for the messages sent to partner.
functionalGroupControlNumber
No
String
Functional group control number of the functional acknowledgment. The value populates only for the send side where functional acknowledgment is received for the messages sent to partner
isaSegment
No
String
ISA segment of the message. The value populates only for the send side where functional acknowledgment is received for the messages sent to partner
gsSegment
No
String
GS segment of the message. The value populates only for the send side where functional acknowledgment is received for the messages sent to partner
respondingfunctionalGroupControlNumber
No
String
The responding interchange control number
respondingFunctionalGroupId
No
String
The responding functional group ID, which maps to AK101 in the acknowledgment
respondingtransactionSetControlNumber
No
String
The responding transaction set control number
respondingTransactionSetId
No
String
The responding transaction set ID, which maps to AK201 in the acknowledgment
statusCode
Yes
Boolean
Transaction set acknowledgment status code
segmentsCount
Yes
Enum
Acknowledgment status code with these permitted values: Accepted, Rejected, and AcceptedWithErrors
processingStatus
Yes
Enum
Processing status of the acknowledgment with these permitted values: Received, Generated, and Sent
CorrelationMessageId
No
String
Correlation message ID, which is a combination of {AgreementName}{GroupControlNumber}{TransactionSetControlNumber}
isMessageFailed
Yes
Boolean
Whether the X12 message failed
ak2Segment
No
String
Acknowledgment for a transaction set within the received functional group
ak3Segment
No
String
Reports errors in a data segment
ak5Segment
No
String
Reports whether the transaction set identified in the AK2 segment is accepted or rejected, and why
Name of the X12 agreement to which the messages are resolved
direction
Yes
Enum
Direction of the message flow, which is either receive or send
interchangeControlNumber
No
String
Interchange control number, which populates for the send side when a technical acknowledgment is received from partners
functionalGroupControlNumber
No
String
Functional group control number of the technical acknowledgment, which populates for the send side when a technical acknowledgment is received from partners
isaSegment
No
String
Same as interchange control number, but populated only in specific cases
gsSegment
No
String
Same as functional group control number, but populated only in specific cases
respondingfunctionalGroupControlNumber
No
String
Control number of the original functional group
respondingFunctionalGroupId
No
String
Maps to AK101 in the acknowledgment functional group ID
isMessageFailed
Boolean
Whether the X12 message failed
statusCode
Yes
Enum
Acknowledgment status code with these permitted values: Accepted, Rejected, and AcceptedWithErrors
processingStatus
Yes
Enum
Processing status of the acknowledgment with these permitted values: Received, Generated, and Sent
ak903
No
String
Number of transaction sets received
ak904
No
String
Number of transaction sets accepted in the identified functional group
ak9Segment
No
String
Whether the functional group identified in the AK1 segment is accepted or rejected, and why
B2B protocol tracking schemas
For information about B2B protocol tracking schemas, see: