AMError.FunctionName

Related Topics

Syntax

%AMError.FunctionName%

Type

String

Description

Returns the name of the function that caused the error (if applicable).

Example

NOTE:
  • The sample AML code below can be copied and pasted directly into the Steps Panel of the Task Builder.
  • Parameters containing user credentials, files, file paths, and/or other information specific to the task must be customized before the sample code can run successfully.
Copy
<AMRUN AM_ONERROR="CONTINUE" FILE="BogusFile.exe" />
<AMSHOWDIALOG WINDOWTITLE="Error Function">The function that caused the error was %AMError.FunctionName%.</AMSHOWDIALOG>