ackNotification

A Workflow Engine function that automatically acknowledges a notification for a service.

This function currently supports the PagerDuty and Opsgenie integrations.

This function is available as a feature of 7.4 integrations.

This function requires you to have already configured the services you want to use it with. When you configure some integrations, Moogsoft Enterprise automatically creates a workflow with the createNotification function; ensure that this workflow is active before you configure the ackNotification function. Integrations this function applies to indicate their compatibility on the UI.

This function is available for alert, enrichment, and Situation workflows.

The workflow sweep up filter applies to this function.

Back to Workflow Engine Functions Reference.Workflow Engine Functions Reference

Arguments

Workflow Engine function ackNotification takes the following arguments:

Name

Required

Type

Description

services

Yes

String

Comma separated list of the service names.

Example

The following example demonstrates typical use of Workflow Engine function ackNotification.

After you have configured the PagerDuty integration, you can configure a workflow with this function to automatically acknowledge alerts or Situations that Moogsoft Enterprise sends to PagerDuty.

  • services: PagerDuty

The UI translates this setting to the following JSON:

{"services":"PagerDuty"}

Now when Moogsoft Enterprise sends alert or Situation data to PagerDuty, the corresponding PagerDuty incident is automatically set to "Acknowledged".