AMError.ErrorNumber

Syntax

%AMError.ErrorNumber%

Type

Number

Description

Returns the unique error number associated to the error that occurred.

Example

NOTE:
  • Copy and paste the sample AML code below directly into the Task Builder Steps Panel.
  • To successfully run the sample code, update parameters containing user credentials, files, file paths, or other information specific to the task to match your environment.
Copy
<AMRUN AM_ONERROR="CONTINUE" FILE="BogusFile.exe" />
<AMSHOWDIALOG WINDOWTITLE="Error Number">Error Number - %AMError.ErrorNumber%</AMSHOWDIALOG>

Related Topics