Redwood Documentation

Product Documentation

 

›Triggering Alerts

RunMyJobsAlerting

Triggering Alerts

  • Active Monitoring Module
  • Triggering Alerts
  • Process Alert Sources
  • Raising Alerts and Notifications from Processes
  • Process Server Alert Sources
  • Raising Alerts and Notifications from Process Servers
  • Ad Hoc Alert Sources
  • Using Ad Hoc Alert Sources
  • Monitor Alert Sources

Escalation Routes

  • Defining Escalation Routes

Email Alert Gateways

  • Email Alert Gateways
  • Creating and Configuring Email Alert Gateways

Alerting Routes

  • Visualizing Alerting Routes
← Raising Alerts and Notifications from Process ServersUsing Ad Hoc Alert Sources →

Ad Hoc Alert Sources

Ad hoc alerts are raised by the System_Alert_Send process definition or by custom script using RedwoodScript. The process definition or code can be placed into chain definitions in order to implement customized alerting.

Tabs & Fields

The following table illustrates the fields of each tab of Ad Hoc Alert Sources editor dialogs.

TabFieldDescription
Ad Hoc Alert SourcePartitionThe Partition where you wish to store the ad hoc alert source
Ad Hoc Alert SourceNameThe name of the ad hoc alert source can contain any combination of US ASCII letters, digits, and underscores; limited to 80 characters.
Ad Hoc Alert SourceApplicationThe Application of the ad hoc alert source
Ad Hoc Alert SourceDescriptionThe description of the ad hoc alert source can contain any combination of printable UTF-8 characters, limited to 255 characters.
Ad Hoc Alert SourceRaise alerts only at certain timesTime Window and Time Zone allow you specify that alerts should only be fired when the time window is open or closed, depending on the Time Window Status.
Ad Hoc Alert SourceRaise a custom operator messageSpecify a custom Operator Message Expression and Operator Message Reply Expression. The reply expression can use regular expressions to force the user to select a reply.
Ad Hoc Alert SourceSent toSpecify an Address and a Default Alert Escalation; the alert will be sent to the specified address and escalated, if necessary, using the specified escalation. You may use substitution parameters in the address. If you do not provide a Default Alert Escalation you must specify a dynamic one - see below.
Ad Hoc Alert SourceUse a dynamic escalation pathSpecify an alert escalation using substitution parameters, if no escalation can be found, the default specified above will be used.
DocumentationDocumentationA comment about the object, can be used for documentation purposes.
Alert Source EmailBodyThe body of the email to send, see Customizing email messages for information on how you can customize it.
Alert Source ActionsTypeThe type of action, limited to Post Alert on alert sources, they fire after an alert is sent. You must reply to the operator message and delete it if you want to suppress it.
Alert Source ActionsEnabledThis checkbox allows you to enable or disable the action; when unchecked, the action will never fire.
Alert Source ActionsLibraryYou can specify a library here containing methods you would like to use. It is recommended to save your code in libraries so you can use it elsewhere.
Alert Source ActionsAction SubjectThe user under which the code in the action is performed. You must set an action subject if you want to use jcsSession
Alert Source ActionsSourceThe source of your code.
Alert Source ActionsStub SourceThis code shows you where the action will be performed.
Security*This is where you can specify who can access/change/remove the ad hoc alert source.

Operator Message and Reply Expressions

The operator message to use is specified as an expression that allows substitution parameters. The message can be specified only at the alert source level. If no message is specified, the default message is Acknowledge.

The reply expression works the same way as the reply expression for the System_OperatorMessage process definition, it can be written as a regular expression. This can be specified at the alert source level. If no reply expression is specified, the default reply expression is Acknowledge.

Substitution Parameters

The substitution parameters that can be used are listed in Scripting Contexts and Implicit Objects.

Substitution parameters can be used in the Email Address, Operator Message Expression, and the Alert Source Email Body fields.

Escalation

Escalations send operator messages and emails (via Email Alert Gateways). When a specific condition does not have an escalation, no operator message is sent and the condition is ignored.

When nobody has resolved the alert in a timely fashion, you can escalate the alert to another operator, this is done with escalations.

Ad hoc alert sources use two rules to determine the alert escalation to use:

  • An expression to determine a dynamic escalation name. This expression supports ${variable} substitutions and the REL syntax for expressions.
  • A default alert escalation

The expression is always evaluated first. If the escalation returned by the expression exists, then it is used. If it does not exist, then the default is used. This allows the escalation used to be dynamic.

Security

PrivilegeDescription
AdHocAlertSource.CreateCreate ad hoc alert sources
AdHocAlertSource.DeleteDelete ad hoc alert sources
AdHocAlertSource.EditEdit ad hoc alert sources
AdHocAlertSource.ViewAccess ad hoc alert sources

You can grant privileges on two levels, Access and Admin; a privilege granted on Admin level allows the grantee to grant the privilege to other users. These privileges can be granted system-wide or per partition.

The Security tab allows you to specify which users can access, edit, and delete the ad hoc alert source.

  • Granting and Revoking System Privileges
  • Granting or Revoking Object Privileges

See Also

  • Ad Hoc Alert Source
  • Documenting Objects using the Documentation Tab

AdHocAlertSource AlertSource AlertSourceAction

← Raising Alerts and Notifications from Process ServersUsing Ad Hoc Alert Sources →
  • Tabs & Fields
  • Operator Message and Reply Expressions
  • Substitution Parameters
  • Escalation
    • Security
  • See Also
Docs
Getting StartedInstallationFinance InstallationConcepts
TroubleshootingArchiving
Learn and Connect
Support Portal
BlogEventsResources
ISO/ IEC 27001 Information Security Management
Automate to be human

2023 All Rights Reserved |

Terms of Service | Policies | Cookies | Glossary | Third-party Software | Contact | Copyright | Impressum |