With workflows you control when and where you want to receive notifications about issues, tunnel the right information to the relevant person or team, and enrich your issue's notifications with additional New Relic data.
What is an issue?
Issues are groups of incidents that describe the underlying problem of your symptoms. When a new incident is created, incident intelligence opens an issue and evaluates other open issues for correlations. For more information see Use Incident Inteligence.
For a look at workflows and destinations in action, watch this short YouTube video (3:54 minutes):
How are workflows triggered?
A Workflow is triggered by issue events for issues that match the workflow filter and their matching notification triggers. The workflow is configured with recommended triggers by default, but you can control when to trigger a notification for each destination by clicking on the 3 dots and then choosing Notify when. The Activated notification trigger must also be enabled. The following events trigger the workflow and send notifications to the relevant destination end-points:
Notification Trigger | Description | Example | Destinations Notified By Default |
---|---|---|---|
Activated | An issue is activated | The issue state changes from CREATED to ACTIVATED | All the destinations |
Acknowledged | An issue is acknowledged by a user either through the a notification, the issue page, or a third party integration | The issue has been seen by a user and marked as acknowledged | Webhook, PagerDuty, Slack, Email, Mobile App |
Closed | The issue has been closed. | The issue has been closed due to closing all its incidents, end of TTL, or has been Inactive for too long | All the destinations |
Priority changed | The Issue's priority has been raised | An incident in the issue has moved from High priority and become a Critical priority issue | Webhook, Event Bridge, ServiceNow, Jira |
Other updates | An incident got added to the issue, an incident was closed, or a different issue was merged to this one | An incident has been resolved | Webhook, Event Bridge, ServiceNow, Jira, PagerDuty (account integration) |
Required capabilities
Using workflows require specific capabilities.
- To access destinations:
View
capabilities forApplied intelligence > Destinations
orAlerts
. - To access workflows:
View
capabilities forApplied intelligence > Workflows
. - To create workflows:
Modify
capabilities forApplied intelligence > Workflows
andApplied intelligence > Channels
. - To modify workflows:
Modify
capabilities forApplied intelligence > Workflows
and all capabilities forApplied intelligence > Channels
. - To delete workflows:
Delete
capabilities forApplied intelligence > Workflows
andApplied intelligence > Channels
.
Add a workflow
The workflows feature is located under the Alerts & AI menu.
Go to one.newrelic.com > Alerts & AI > Enrich and Notify > Workflow > Add a workflow.
Name your workflow. This field is mandatory and needs to be unique.
With workflows, filter your issues and send them to the relevant destination. You can build a query to filter the right issues.
Tip
To set up seperate notifications on WARNING
incidents, filter by issues with a priority equal to HIGH (Warning)
.
- Build a query by selecting an attribute, operator and value/s to narrow down the right issues you want to be passed on.
Tip
The workflows filter auto populates with data from past issues as well as some static values from the condition metadata (such as condition name). If you can't find the value you're looking for, type it in and select Enter new. A warning that the filter doesn't match any past issue sometimes occurs.
- Recommended: filter issues by team tag so all teams can be notified when their entities are included in an issue. Steps can be found in the demo below:
For some tips on using tags, see this Explorers Hub post on workflow patterns.
- Optional: Enrich your data.
Notify: Choose one or more destinations and add an optional message.
Tip
In any destination channel, start typing and a variable menu will open up. You'll see the names of the variables, which will be replaced with the variable's values at runtime. To use the enrichers' results, use their name.
- Click update message once completing the notifier requirements
- Optional: Test your workflow. We'll use existing data from your account to send a sample notification with your new configuration. The test only works if there are existing issues that match the filter. If there isn't any data, you'll see this message:
We don’t see any issues matching your filter. That doesn’t mean it won’t work
. - Click activate to complete the workflow.
Important
The initial limit to the number of workflows you can add is 1000 per account and the intial limit to filter size is 4096 characters per workflow. Please reach out to your account representative if you would like this number to be increased.