Page History
...
- Environment variables are a means of parameterizing to parameterize jobs.
- Environment variables allow read and write operations, however, modifying the value of an environment variable works within the scope of the current job only.
- Environment Variables are used with uppercase letters only. For Windows environments the uppercase/lowercase spelling makes no difference, however, for Unix different spellings create different environment variables.
- A number of environment variables are available to shell jobs by default.
- Additional environment variables can be added per job configuration from JS7 - Order Variables, from node arguments and from JS7 - Job Resources.
...
Category | Environment Variable | Description | Adjustable by Script | Default Value |
---|---|---|---|---|
Controller | JS7_CONTROLLER_ID | Identification of a Controller as specified during initial operation. | n/a | n/a |
Inventory | JS7_JOB_NAME | The name of the job as specified with the workflow configuration. | n/a | |
JS7_ORDER_ID | The order identification as returned when creating an order. | n/a | ||
JS7_WORKFLOW_NAME | The name of the workflow. | n/a | ||
JS7_WORKFLOW_LABEL | The label assigned the workflow instruction for the job. Consider that the same job can be used a number of times in a workflow and that its assignment to an instruction is additionally specified by a label. | n/a | ||
JS7_WORKFLOW_POSITION | The indicator for the position of the order in the current workflow. | n/a | ||
Run-time | JS7_JOB_EXECUTION_COUNT | A numeric indicator for the number of times a job is executed for the same order. With the first execution of a job the value will start with 1 and will be incremented e.g. if a job is repeated due to a Retry Instruction or if an order is resumed by user intervention to repeat a job in a workflow. The value is incremented per execution of the same job independently from the fact that this job might occur a number of times in different nodes of a workflow. | n/a | |
Scheduled Date | JS7_SCHEDULED_DATE | The date for which an order originally was scheduled. The date format includes yyyy, MM, dd, HH, mm, ss and the time zone offset, e.g. 2020-12-03 09:13:59+0100 | n/a | Scheduled Date |
JS7_SCHEDULED_YEAR | The year of the scheduled date padded by 2 digits, e.g. 2020, 2021, 2022 etc. | n/a | Year of Scheduled Date | |
JS7_SCHEDULED_MONTH | The month of the scheduled date padded by 2 digits, e.g. 01, ..., 12 | n/a | Month of Scheduled Date | |
JS7_SCHEDULED_DAY | The day of the scheduled date padded by 2 digits, e.g. 01, ..., 31 | n/a | Day of Scheduled Date | |
JS7_SCHEDULED_HOUR | The hour of the scheduled date padded by 2 digits, e.g. 00, ..., 24 | n/a | Hour of Scheduled Date | |
JS7_SCHEDULED_MINUTE | The minute of the scheduled date padded by 2 digits, e.g. 01, ..., 59 | n/a | Minute of Scheduled Date | |
JS7_SCHEDULED_SECOND | The second of the scheduled date padded by 2 digits, e.g. 01, ..., 59 | n/a | Second of Scheduled Date | |
Job Start Date | JS7_JOBSTART_DATE | The date at which the job was started. The date format includes yyyy, MM, dd, HH, mm, ss and the time zone offset, e.g. 2020-12-03 09:13:59+0100 | n/a | Start Date of the task for a shell job or Start Date of the processing of an order by a JVM job |
JS7_JOBSTART_YEAR | The year of the job start date padded by 2 digits, e.g. 2020, 2021, 2022 etc. | n/a | Year of Job Start Date | |
JS7_JOBSTART_MONTH | The month of the job start date padded by 2 digits, e.g. 01, ..., 12 | n/a | Month of Job Start Date | |
JS7_JOBSTART_DAY | The day of the job start date padded by 2 digits, e.g. 01, ..., 31 | n/a | Day of Job Start Date | |
JS7_JOBSTART_HOUR | The hour of the job start date padded by 2 digits, e.g. 00, ..., 24 | n/a | Hour of Job Start Date | |
JS7_JOBSTART_MINUTE | The minute of the job start date padded by 2 digits, e.g. 01, ..., 59 | n/a | Minute of Job Start Date | |
JS7_JOBSTART_SECOND | The second of the job start date padded by 2 digits, e.g. 01, ..., 59 | n/a | Second of Job Start Date | |
JS7_JOBSTART_EPOCHMILLISEPOCHMILLI | The number of milliseconds since January 1st 1970 UTC until the job start date | n/a | Epoch milliseconds for Job Start Date |
...
Overview
Content Tools