AMError.ParentTaskName

Syntax:

%AMError.ParentTaskName%

Type:

String

Description:

If a sub-task caused an error, returns the name of the parent task.

Example:

 

<AMVARIABLE NAME="theError"></AMVARIABLE>

<AMRUN AM_SETVAR="theError;%AMError.ErrorDesc%" AM_ONERROR="CONTINUE" FILE="BogusFile.exe" />

<AMSHOWDIALOG WINDOWTITLE="AMError return value">AMError.ErrorDesc return value:

%AMError.ErrorDesc%

</AMSHOWDIALOG>

 

See Also:


AMError.ErrorDesc | AMError.ErrorNumber | AMError.IPAddress | AMError.FunctionName |AMError.MachineName | AMError.ParentTaskName | AMError.StepNumber | AMError.StepText | AMError.Tagline | AMError.TaskName