Page History
...
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 | ||
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_EPOCHMILLIS | The number of milliseconds since January 1st 1970 UTC until the job start date | n/a | Epoch milliseconds for Job Start Date |
Explanation:
- Consider that the Scheduled Date is available only for orders that have been scheduled for a start time.
- This applies to scheduled orders created by JS7 - Schedules.
- This applies to Ad Hoc orders created from the JS7 - Workflows that are assigned a start time
- This does not apply to Ad Hoc orders that are created for immediate start.
Environment Variables from Job Properties
- Job properties offer to specify environment variables that are forwarded to the job script.
- The values of environment variables can be specified from:
- constant string values
- order variables
- node arguments
- For details see and
Explanation:
- Users are free to choose the names of environment variables. Such names are automatically converted to uppercase letters.
- Environment variables can be assigned values from order variables and from node arguments. Such variables are preceded by a
$
and consider the spelling of the respective variable or argument. - Caveat: Any existing environment variables with the same name will be overwritten from the job configuration. You can e.g. specify a
PATH
environment variable if the intention is to modify this OS environment variable for use with a specific job.
...
Overview
Content Tools