How to setup Outbound webhook for any event occurs in the Incident

Sudheer17
Kilo Explorer

Hi Team,

I want to set up an Outbound webhook in the ServiceNow and this should trigger in every action/event in the incident.

Ex. if anyone is changing the status or assignee of adding any comments in the incident. This webhook should trigger and post the message to the external rest API.

Please provide step by step solution to configure this webhook

4 REPLIES 4

asifnoor
Kilo Patron

Hello Sudheer,

1. Create a BR on incident table with the filter conditions of what all changes you want to do

2. And then in your BR under script, you can call the REST API which invokes the webhook.

Refer to this article where the sample code is shown.

https://community.servicenow.com/community?id=community_article&sys_id=0612a1a11b7b4898fff162c4bd4bc...

Mark the comment as correct/helpful if this helps.

 

Rajashekhar She
Kilo Contributor

Thanks @asifnoor , it is pretty valuable information. 

 

Any where to find the script learning resources on serviceNow docs ? 

 

Tried the suggestion, but script failed to run at "AbstractAjaxProcessor undefined, maybe missing global qualifier"

Rajashekhar She
Kilo Contributor

Thank you @asifnoor , it is pretty useful information.

 

A followup question, is there a log or events view, to verify if the BR is executed successfully ?

Rajashekhar She
Kilo Contributor