Skip to main content

resolveNotification

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

This function currently supports the PagerDuty, Opsgenie, and xMatters 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 resolveNotification 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.

Arguments

Workflow Engine function resolveNotification 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 resolveNotification.

After you have configured the PagerDuty integration, you can configure a workflow with this function to automatically resolve 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 "Resolved".