-
Type:
Suggestion
-
Resolution: Unresolved
-
Component/s: Integrations - 3rd-party - ServiceNow
-
None
-
2
Issue Summary
On the ServiceNow side, you can set filters on the business rules for the Opsgenie app to only send data to Opsgenie if conditions are met. For example, a customer may want only P1 incidents from SNOW to send over to OG, or they may only want major incidents to create an alert if they're using the major incidents feature.
However, the default settings on the Create Alert business rule is to only run when an incident is created, not updated. So if you upgrade an incident to P1, or propose a major incident from an existing incident (very common workflow), then the examples above wouldn't create an alert.
Steps to Reproduce
(Using the priority example here, since it's easier to set up)
- Set up an integration with ServiceNow
- On the Create Alert business rule in SNOW, add a filter on the 'When to run' tab to match if the priority = 1
- Create a SNOW incidentÂ
- Update the priority on the incident to P1
- Fill in any required fields
- Save the incident
Expected Results
This should create an alert in Opsgenie with all of the incident fields included.
Actual Results
An alert is created with minimal SNOW info because the Add Work Note rule gets matched, which seems to also match the Create Alert action on the OG side (probably needs to get updated as well).
Workaround
Update the Create Alert business rule to also run on update, instead of just insert.