...
- Table variables.
- Service variables.
- OS environment variables.
- JOC variables.
Table variables
Expand |
---|
title | Variables: table SCHEDULER_MON_NOTIFICATIONS |
---|
|
Table of the history of steps of processed orders. Name | Description | Note |
---|
${MON_N_ID} | Unique notification id | | ${MON_N_SCHEDULER_ID} | Id of the JobScheduler | | ${ MON_N_TASK_ID}
| Id of the JobScheduler task | | ${ MON_N_STEP} | Consecutive number of the order step | | ${ MON_N_ORDER_HISTORY_ID}
| Id of the JobScheduler order | | ${ MON_N_JOB_CHAIN_NAME} | Name of the job chain of the order | | ${ MON_N_JOB_CHAIN_TITLE}
| Title of the job chain of the order | | ${ MON_N_ORDER_ID}
| Unique (within the job chain) id of the order | | ${ MON_N_ORDER_TITLE}
| Title of the order | | ${ MON_N_ORDER_START_TIME} | Timestamp of the start of the order | | ${ MON_N_ORDER_END_TIME}
| Timestamp of the end of the order | | ${ MON_N_ORDER_TIME_ELAPSED}
| The time or difference in seconds between a beginning time and an ending time of the order | | ${ MON_N_ORDER_STEP_STATE}
| State of the order inside the job chain | | ${ MON_N_ORDER_STEP_START_TIME}
| Timestamp of the start of the order step | | ${ MON_N_ORDER_STEP_END_TIME}
| Timestamp of the end of the order step | | ${ MON_N_ORDER_STEP_TIME_ELAPSED}
| The time or difference in seconds between a beginning time and an ending time of the order step | | ${ MON_N_JOB_NAME}
| Name of the job | | ${ MON_N_JOB_TITLE}
| Title of the job | | ${ MON_N_TASK_START_TIME}
| Timestamp of the job task start | | ${ MON_N_TASK_END_TIME}
| Timestamp of the job task end | | ${ MON_N_TASK_TIME_ELAPSED} | The time or difference in seconds between a beginning time and an ending time of the job task | | ${ MON_N_RECOVERED}
| 0 = dependent of the ${MON_N_ERROR} - ok or error was not recovered,
1 = error was recovered
| | ${ MON_N_RETURN_CODE}
| Return code number | | ${ MON_N_AGENT_URL}
| JobScheduler Agent uri | available with release 1.11.2 Jira |
---|
server | SOS JIRA |
---|
columns | key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution |
---|
serverId | 6dc67751-9d67-34cd-985b-194a8cdc9602 |
---|
key | JITL-351 |
---|
|
| ${ MON_N_CLUSTER_MEMBER_ID} | ID of the Scheduler cluster member (only used in cluster mode) | available with release 1.11.2 Jira |
---|
server | SOS JIRA |
---|
columns | key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution |
---|
serverId | 6dc67751-9d67-34cd-985b-194a8cdc9602 |
---|
key | JITL-352 |
---|
|
| ${ MON_N_ERROR}
| 0 = ok
1 = error
| | ${ MON_N_ERROR_CODE}
| Exception-code of the job error | | ${ MON_N_ERROR_TEXT}
| Exception message of the job (that processed the order) | | ${ MON_N_CREATED}
| Timestamp of the notification initial record | | ${ MON_N_MODIFIED}
| Timestamp of the latest changes to this notification record | |
|
...
Code Block |
---|
language | xml |
---|
title | Example Windows |
---|
collapse | true |
---|
|
%TEMP%/test.exe |
JOC variables
Jira |
---|
server | SOS JIRA |
---|
columns | key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution |
---|
serverId | 6dc67751-9d67-34cd-985b-194a8cdc9602 |
---|
key | JS-1388 |
---|
|
Expand |
---|
|
Name | Description |
---|
${JOC_HREF_JOB_CHAIN} | Link href to the job chain object in JOC | ${ JOC_HREF_JOB}
| Link href to the job object in JOC |
|
Code Block |
---|
language | xml |
---|
title | Example |
---|
collapse | true |
---|
|
<a href="${JOC_HREF_JOB_CHAIN}">JOC job chain</a>
<a href="${JOC_HREF_JOB}">JOC job</a>
|
Examples
Code Block |
---|
language | xml |
---|
title | Message on error |
---|
collapse | true |
---|
|
scheduler id=${MON_N_SCHEDULER_ID}, history id=${MON_N_ORDER_HISTORY_ID}, job_chain=${MON_N_JOB_CHAIN_NAME}(${MON_N_ORDER_ID}), step=${MON_N_ORDER_STEP_STATE}, error=${MON_N_ERROR_TEXT} |
...