Versions Compared

Key

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

...

All variables have to be used with the following syntax independently from the operating system in use: 

${VARIABLE_NAME}

...

Notification Variables

The following variables are available from the configuration and can be used with Command elements, they cannot be used with Message elements.

Expand
titleList of Schema Notification Variables
NameDescription  Note
${MON_N_CREATED}The timestamp that the monitoring entry has been added.
${MON_N_HAS_MONITORS}A Boolean value true or false that indicates ...
${MON_N_ID}The unique identifier of the monitoring entry.
${MON_N_MON_ORDER_ID}The unique identifier for the monitoring order entry.
${MON_N_MON_ORDER_STEP_ID}The unique identifier for the monitoring order step entry.
${MON_N_NAME}The name of the monitor in use.
${MON_N_RANGE}An indicator for the monitor scope, e.g. WORKFLOW.
${MON_N_RECOVERED_ID}The identifier of a monitoring entry that previously reported an error and that is considered recovered by the current monitoring entry.
${MON_N_STATUS}A numeric status identifier that can be used for integration with a System Monitor: 0=OK, 1=WARNING, 2=CRITICAL
${MON_N_TYPE}
The message type includes SUCCESS, WARNING or ERROR as specified with the Notification element.
${N_WORKFLOW_POSITION}The textual workflow position that is monitored.
${MESSAGE}The content of the Message element.

Order Variables

The following variables are available from orders and can be used with Message elements and with Command elements.

Expand
titleList of Order Variables
NameDescription  Note
${MON_O_CONTROLLER_ID}
The JS7 Controller ID.
${MON_O_CREATED}The timestamp that the order monitoring entry is added.
${MON_O_ORDER_ID}The Order ID (unique identifier).



${MON_O_HISTORY_ID}The Order History ID (unique identifier).
${MON_O_WORKFLOW_PATH} The identifier of the workflow that the order is executed for.
${MON_O_WORKFLOW_TITLE}The title of the workflow that the order is executed for.
${MON_O_SEVERITY}The Order History status.
${MON_O_START_TIME} The timestamp for the start of order execution.
${MON_O_END_TIME} The timestamp for the end of order execution.Consider that in case of job errors an order might be halted in a failed state and does not provide an end time as the order did not completely execute the workflow.
${MON_O_TIME_ELAPSED} The difference in seconds between the start time and the end time of order execution.
${MON_O_RECOVERED} 

0 = dependent of the ${MON_O_ERROR} variable: ok or error was not recovered,

1 = error was recovered


...