Compare data from Issue notification in order to create an incident (New Relic integration)

imendoza
Tera Contributor

I'm  creating incidents with #N#Newrelic pluggin in Servicenow following the workflow below

Webhook >> Issue Notification >> NewRelic Issue >> Incident

 

When i get the same Issue i want to be able to attach an incident created before if the Issue has been already seen, otherwise, create a new incident.

I realized i have that behavior if I pass through the webhook a repeated ID.

When  webhook's ID is repeated the NewRelic Issue is the same for all Issue notifications i get but in my case i want to either attach the same New Relic Issue to the issue notification based on the "workflow_name" field 

OR

attach the same incident to the New NewRelic Issue if the "workflow_name" field has been shown before in previous NewRelic Issues.

 

How can i add this functionality? i would apreciate some hints

 

 

0 REPLIES 0