File attachment environment variables

Use the following environment variables to return data about the files attached to the specific issue, test case, or manual test run that caused the executable to run.

Environment variable Description Example
ATT_CNT Number that corresponds to the order of the attachment in all item file attachments; used to identify each attachment in ATT_NAME and ATT_LOC Not applicable
ATT_NAME File attachment name ATT4_NAME returns the name of the fourth file attachment
ATT_LOC Path to the DAT file if it is stored on the local hard drive or the database name if the file is stored on the Helix ALM Server ATT3_LOC returns the location of the third file attachment