Environment Variables
When the Script has been started by the Batchcontroller, a number of Windows Environment Variables will be set by the Batchcontroller for usage inside the Script. This information can be used before a connection to an application has been established.
Environment Variables
Name | Description |
AMTBATCHID | The ID of the Batch that started this script when available |
AMTJOBNAME | The Jobname of this script as set in the Control Center |
AMTJOBID | The Jobid of this script as visible in the Control Center |
AMTPROCESSJOBID | The Windows ProcessId of the running Script |
AMTREQUESTID | The RequestId of the Jobrequest that started the script |
INITSTATION | The Station name that initiated the Job that started the script |
INITUSER | The User name that initiated the Job that started the script |