NextGen Knowledge Center

Alert Variables

A list of general variables that you can use to create alert actions.

The following is a list of variables that you can use to create alert actions.

  • alertId: The unique ID of the alert.
  • alertName: The name of the alert.
  • groupName: The name of the action group.
  • serverId: The unique ID of the server.
  • globalMapVariable: Indicates that you can use any variable in the global or configuration maps.
  • date: The current date, formatted as a human-readable string.
  • currentLevel: The current escalation level of the alert.
  • systemTime: The current epoch time in milliseconds.
  • error:The full error message, including (where applicable) the source code, line number, and error details.
  • errorMessage: If an exception is associated with the error event, this will be the message or detail of the exception.
  • errorType: The category of the error. For additional information, see Alert Error Types and Regex in the User Guide for Mirth® Connect by NextGen Healthcare on the NextGen Knowledge Center .
  • channelId: The ID of the channel associated with the error, if applicable.
  • channelName: The name of the channel associated with the error, if applicable.
  • connectorName: The name of the connector associated with the error, if applicable.
  • connectorType: The type of the connector associated with the error, if applicable.
  • messageId: The ID of the message associated with the error, if applicable.