Controlling the reaction to updates to PD tickets reflected back to ServiceNow

Hi, we have recently implemented auto-ticketing integration from ServiceNow to PagerDuty based on a custom incident use case in ServiceNow. Everything is working as expected, and the webhook is updating the ServiceNow incidents when PagerDuty incidents created by the API are updated. Our Ops team is now requesting to NOT resolve the ServiceNow incident when a responder in PagerDuty resolves the PagerDuty incident, in web or mobile. I have been looking at the documentation and it looks like i need to use an Event Rule under Configuration. I will do some testing in non-prod. Is there any previous use case where this has been done? Can it be done for all incidents or by user? TIA, Tim

Tim - you would need to handle this within ServiceNow by customizing the PagerDuty application or making other ServiceNow configuration changes to prevent this from happening.

Hi Tim,

Thanks for writing into our help forum. To address an early part of your question, there is no way to differentiate where an incident was resolved from. So if your requirement is to prevent resolves that originate from web or mobile, but to allow resolves that originate from an API, that isn’t possible.

However, with our ServiceNow integration it is possible to ignore all resolve messages, or to get a bit more granular with which resolves are honored and which are ignored. This is something that will need to be done by writing custom code. You can see the code that processes incoming webhooks (sent from PagerDuty to ServiceNow) by looking at the PdWebhookTransform Script Include in ServiceNow.

Please be advised that all customizations of this nature are not supported by the PagerDuty Support team. Proceed with these changes at your own risk.

Cheers,