Skip to main content

Ens.Alerting.Rule.FunctionSet

class Ens.Alerting.Rule.FunctionSet extends Ens.Rule.FunctionSet

Method Inventory

Methods

classmethod IsRecentManagedAlert(AlertRequest As Ens.AlertRequest = "", Seconds As %Integer = 300, LogUpdate As %Boolean = 0) as %Integer
Function to determine whether a Managed Alert with the same AlertText and SourceConfigName as the supplied AlertRequest has been created within the previous Seconds seconds. If such a Managed Alert does exist, the ID of the Managed Alert is returned. If LogUpdate is true, then this function will assume that a new ManagedAlert will NOT be created and will log an update to the existing ManagedAlert to indicate that the alert has reoccurred.

Inherited Members

Inherited Methods

FeedbackOpens in a new tab