Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Users are free to define their own job resources to publish individual environment variables to workflows and jobs.

Anchor
job_resource_default
job_resource_default
Job Resource: Default

CategoryEnvironment VariableDescriptionDefault Value
ControllerJS7_CONTROLLER_IDIdentification of a Controller as specified during initial operation.n/a




InventoryJS7_JOB_NAMEThe name of the job as specified with the workflow configuration.

JS7_ORDER_IDThe order identification as returned when creating an order.

JS7_WORKFLOW_NAMEThe name of the workflow.

JS7_WORKFLOW_LABELThe 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_POSITIONThe indicator for the position of the order in the current workflow.




Run-timeJS7_JOB_EXECUTION_COUNTA 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 DateJS7_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_YEARThe year of the scheduled date padded by 2 digits, e.g. 2020, 2021, 2022 etc.Year of Scheduled Date

JS7_SCHEDULED_MONTHThe month of the scheduled date padded by 2 digits, e.g. 01, ..., 12Month of Scheduled Date

JS7_SCHEDULED_DAYThe day of the scheduled date padded by 2 digits, e.g. 01, ..., 31Day of Scheduled Date

JS7_SCHEDULED_HOURThe hour of the scheduled date padded by 2 digits, e.g. 00, ..., 24Hour of Scheduled Date

JS7_SCHEDULED_MINUTEThe minute of the scheduled date padded by 2 digits, e.g. 01, ..., 59Minute of Scheduled Date

JS7_SCHEDULED_SECONDThe second of the scheduled date padded by 2 digits, e.g. 01, ..., 59Second of Scheduled Date




Job Start DateJS7_JOBSTART_DATEThe 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+0100Start Date of the task for a shell job or Start Date of the processing of an order by a JVM job

JS7_JOBSTART_YEARThe year of the job start date padded by 2 digits, e.g. 2020, 2021, 2022 etc.Year of Job Start Date

JS7_JOBSTART_MONTHThe month of the job start date padded by 2 digits, e.g. 01, ..., 12Month of Job Start Date

JS7_JOBSTART_DAYThe day of the job start date padded by 2 digits, e.g. 01, ..., 31Day of Job Start Date

JS7_JOBSTART_HOURThe hour of the job start date padded by 2 digits, e.g. 00, ..., 24Hour of Job Start Date

JS7_JOBSTART_MINUTEThe minute of the job start date padded by 2 digits, e.g. 01, ..., 59Minute of Job Start Date

JS7_JOBSTART_SECONDThe second of the job start date padded by 2 digits, e.g. 01, ..., 59Second of Job Start Date

JS7_JOBSTART_EPOCHMILLIThe number of milliseconds since January 1st 1970 UTC until the job start dateEpoch 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
job_resource_email_default
job_resource_email_default
Job Resource: eMailDefault

CategoryEnvironment VariableArgumentDescriptionSample Value
AgentMAIL_SMTP_FROMfromE-Mail address from which mail is being sentjs7@example.com

MAIL_SMTP_FROM_NAMEfrom_nameName of the E-Mail address that sends mailJS7 JobScheduler

MAIL_SMTP_REPLY_TOreply_toE-Mail address for replies to mailsno-reply@example.com

MAIL_SMTP_HOSTmail.smtp.hostHostname or IP Address of the mail servermail.example.com

MAIL_SMTP_PORTmail.smtp.portSMTP Port of the mail server25

MAIL_SMTP_TIMEOUTmail.smtp.timeoutTimeout in ms for responses of the mail server5000

MAIL_SMTP_CONNECTIONTIMEOUTmail.smtp.connectiontimeoutTimeout in ms for establishing a connection to the mail server5000

...