Posted Wed, 05 Sep 2018 03:56:33 GMT by

I initially tried to return the Task Name in an email to myself and it returned blank.

So, I tried the following, and the only variable that seems to return a value was %AMError.MachineName%.

ID : %AMTask.ID%
Name : %AMTask.Name%
%AMTask.AgentID%
%AMTask.AgentName%
%AMTask.Path%

%AMError.MachineName%

Posted Wed, 05 Sep 2018 03:59:01 GMT by

I also tried creating a variable and assigning %AMTask.Name% to that new variable.

Still blank.

I must be missing a step to either 'turn on' these values, or to allow the task to assign them?

Posted Wed, 05 Sep 2018 04:59:44 GMT by

Hello Rick,

 

Are you running the task from Task Builder or Task Administrator?

 

Please try running from Task Administrator if you haven't and let us know your results. 

Posted Wed, 05 Sep 2018 19:58:15 GMT by

Tried from both.  Same result.
Only MachineName is coming through.

We are on AutoMate Professional 10.3.0.13.

Posted Wed, 05 Sep 2018 22:50:50 GMT by

Rick,

AMTask references are intended for BPA/Enterprise. If you are trying to get the task name please use %GetTaskName()%.

Posted Thu, 06 Sep 2018 02:04:58 GMT by

That works better.

Thanks!

You must be signed in to post in this forum.