AS2-related event variables can help in diagnosing transmission results and for notification purposes.
The following AS2-related variables can be used in Event Rules, e-mail notifications, and commands.
Variable |
Value Contained in Variable |
%AS2.PAYLOAD% |
Name of the file (or an array of file names if MA is used) being transferred over the AS2 session |
%AS2.MDN% |
MDN |
%AS2.LOCAL_MIC% |
Local AS2 message identification code (MIC) |
%AS2.REMOTE_MIC% |
Remote AS2 message identification code (MIC) |
%AS2.MESSAGE_ID% |
AS2 message identifier |
%AS2.HOST% |
Address of the host being sent to (outbound) or received from (inbound) |
%AS2.TRANSACTION_ERROR% |
Error (if any) in the AS2 transaction |
%AS2.TRANSACTION_RESULT% |
Overall transaction result (In Progress, Failure, or Success) of the in-context AS2 transaction |
%AS2.TRANSACTION_VERBOSE% |
Verbose message for the AS2 transaction |
%AS2.DIRECTION% |
Direction of the transfer |
%AS2.PARTNER_ID% |
Transaction partner's AS2 ID |
%AS2.EFT_ID% |
EFT Server ID used in this transfer |
%AS2.CONTENT_TYPE% |
Transfer's content type: Application, EDIFACT, XML, Mutually defined EDI, Binary, Plaintext |