Page History
...
Users are free to define their own job resources to publish individual environment variables to workflows and jobs.
Anchor | ||||
---|---|---|---|---|
|
Category | Environment Variable | Description | Default Value |
---|---|---|---|
Controller | JS7_CONTROLLER_ID | Identification of a Controller as specified during initial operation. | n/a |
Inventory | JS7_JOB_NAME | The name of the job as specified with the workflow configuration. | |
JS7_ORDER_ID | The order identification as returned when creating an order. | ||
JS7_WORKFLOW_NAME | The name of the workflow. | ||
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. | ||
JS7_WORKFLOW_POSITION | The indicator for the position of the order in the current workflow. | ||
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. | |
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 | Scheduled Date |
JS7_SCHEDULED_YEAR | The year of the scheduled date padded by 2 digits, e.g. 2020, 2021, 2022 etc. | Year of Scheduled Date | |
JS7_SCHEDULED_MONTH | The month of the scheduled date padded by 2 digits, e.g. 01, ..., 12 | Month of Scheduled Date | |
JS7_SCHEDULED_DAY | The day of the scheduled date padded by 2 digits, e.g. 01, ..., 31 | Day of Scheduled Date | |
JS7_SCHEDULED_HOUR | The hour of the scheduled date padded by 2 digits, e.g. 00, ..., 24 | Hour of Scheduled Date | |
JS7_SCHEDULED_MINUTE | The minute of the scheduled date padded by 2 digits, e.g. 01, ..., 59 | Minute of Scheduled Date | |
JS7_SCHEDULED_SECOND | The second of the scheduled date padded by 2 digits, e.g. 01, ..., 59 | 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 | 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. | Year of Job Start Date | |
JS7_JOBSTART_MONTH | The month of the job start date padded by 2 digits, e.g. 01, ..., 12 | Month of Job Start Date | |
JS7_JOBSTART_DAY | The day of the job start date padded by 2 digits, e.g. 01, ..., 31 | Day of Job Start Date | |
JS7_JOBSTART_HOUR | The hour of the job start date padded by 2 digits, e.g. 00, ..., 24 | Hour of Job Start Date | |
JS7_JOBSTART_MINUTE | The minute of the job start date padded by 2 digits, e.g. 01, ..., 59 | Minute of Job Start Date | |
JS7_JOBSTART_SECOND | The second of the job start date padded by 2 digits, e.g. 01, ..., 59 | Second of Job Start Date | |
JS7_JOBSTART_EPOCHMILLI | The number of milliseconds since January 1st 1970 UTC until the job start date | Epoch milliseconds for Job Start Date |
...
- 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.
Anchor | ||||
---|---|---|---|---|
|
Category | Environment Variable | Argument | Description | Sample Value |
---|---|---|---|---|
Agent | MAIL_SMTP_FROM | from | E-Mail address from which mail is being sent | js7@example.com |
MAIL_SMTP_FROM_NAME | from_name | Name of the E-Mail address that sends mail | JS7 JobScheduler | |
MAIL_SMTP_REPLY_TO | reply_to | E-Mail address for replies to mails | no-reply@example.com | |
MAIL_SMTP_HOST | mail.smtp.host | Hostname or IP Address of the mail server | mail.example.com | |
MAIL_SMTP_PORT | mail.smtp.port | SMTP Port of the mail server | 25 | |
MAIL_SMTP_TIMEOUT | mail.smtp.timeout | Timeout in ms for responses of the mail server | 5000 | |
MAIL_SMTP_CONNECTIONTIMEOUT | mail.smtp.connectiontimeout | Timeout in ms for establishing a connection to the mail server | 5000 |
...
Overview
Content Tools