AS2 Events

In AS2 Inbound Transaction Succeeded and AS2 Inbound Transaction Failed Events, the FS.FILE_NAMEvariable contains the name of the file uploaded (for a simple transaction) or an empty string (for a Multiple Attachment (MA) transaction).

  • AS2 Inbound Transaction Succeeded—Triggers if the inbound transmission was successful, MDN was successfully sent, MICs all match, and no other errors occurred.

  • AS2 Inbound Transaction Failed—Triggers if the AS2 file upload failed for some reason, such as bad MIC, no permissions/access, duplicate message ID, or other AS2 transfer-related error.

  • AS2 Outbound Transaction Succeeded—Triggers if EFT has offloaded a file to a remote partner, and that partner replied with a receipt over HTTP/S, indicating that the transfer was successfully completed.

  • AS2 Outbound Transaction Failed—Triggers if the expected MDN receipt was not received in the expected time or the receipt signature or MIC failed.

AS2 Events can take these variables:

Type

Label (can appear in email notification)

Variable

AS2 Properties

AS2 Payload

%AS2.PAYLOAD%

AS2 MDN

%AS2.MDN%

AS2 Local MIC

%AS2.LOCAL_MIC%

AS2 Remote MIC

%AS2.REMOTE_MIC%

AS2 Message ID

%AS2.MESSAGE_ID%

AS2 Host

 %AS2.HOST%

AS2 Transaction Error

%AS2.TRANSACTION_ERROR%

AS2 Transaction Result

%AS2.TRANSACTION_RESULT%

AS2 Transaction Verbose

%AS2.TRANSACTION_VERBOSE%

AS2 Direction

%AS2.DIRECTION%

AS2 Partner ID

%AS2.PARTNER_ID%

AS2 EFT Server ID

%AS2.EFT_ID%

AS2 Content Type

%AS2.CONTENT_TYPE%

Event Properties

Event Time

%EVENT.TIME%

Event Time Stamp

%EVENT.TIMESTAMP%

Event Date Stamp

%EVENT.DATESTAMP%

Event Name

%EVENT.NAME%

Event Rule Name

%EVENT.EVENTNAME%

Event Time Stamp (milliseconds)

%EVENT.TIMESTAMP_PRECISE%

Event Transaction ID

%EVENT.TRANSACTION_ID%

File System Properties

Report File

%FS.REPORT_FILE%

Report Content

%FS.REPORT_CONTENT%

Report File Name

%FS.REPORT_FILENAME%

User Properties

User (Group)

%USER.GROUPS%

Logon Name

%USER.LOGIN%

Logon Password

%USER.PASSWORD%

Account Enabled

%USER.ENABLED%

Settings Template

%USER.SETTINGS_LEVEL%

Full Name

%USER.FULL_NAME%

Description

%USER.DESCRIPTION%

Comment

%USER.COMMENT%

Email Address

%USER.EMAIL%

Phone Number

%USER.PHONE%

Pager Number

%USER.PAGER%

Fax Number

%USER.FAX%

Home Folder

%USER.HOME_FOLDER%

Home folder is root

%USER.HOME_IS_ROOT%

Quota Max

%USER.QUOTA_MAX%

Quota Used

%USER.QUOTA_USED%

Invalid login attempts

%USER.INVALID_LOGINS%

User can change password

%USER.CAN_CHANGE_PASSWORD%

Home IP

%USER.HOME_IP%

User can connect using SSL

%USER.ALLOW_SSL%

User can connect using FTP

%USER.ALLOW_FTP%

User can connect using SFTP

%USER.ALLOW_SFTP%

Last Login Date

%USER.LAST_LOGIN%

Password Expiration Date

%USER.PASSWORD_EXPIRATION%

User Must Change Password at Next Login

%USER.RESET_PASSWORD_AT_FIRST_LOGIN%

Account Expiration Date

%USER.EXPIRATION_DATE%

Account Locked Out

%USER.IS_LOCKED_OUT%

Custom Field 1, 2, 3

%USER.CUSTOM1%, %USER.CUSTOM2%, %USER.CUSTOM3%

Connection Properties

HTTP Query String

%CONNECTION.HTTP.QUERY_STRING%

HTTP Headers List

%CONNECTION.HTTP.HEADERS_LIST%

Site Properties

Site name

%SITE.NAME%

Account Management URL

%SITE.ACCOUNT_MANAGEMENT_URL%

Site Running

%SITE.STATUS%

Source Properties
(used in Copy/Move and Download Action)

Source file name without extension

%SOURCE.BASE_FILE_NAME%

Source file name with extension

%SOURCE.FILE_NAME%

Server Properties

Server Running

%SERVER.STATUS%

Log Type

%SERVER.LOG_TYPE%

Log Location

%SERVER.LOG_LOCATION%

Node Name

%SERVER.NODE_NAME%

Install Directory

%SERVER.INSTALL_DIRECTORY%

Transfer Properties

Transfer Rate

%TRANSFER.RATE_KBPS%

Transfer Bytes

%TRANSFER.BYTES%

Transfer Seconds

%TRANSFER.SECONDS%