- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2025 01:42 AM
Hello Team,
I need to call an external API endpoint for every new incidents / updates to the existing incident in Service Now. So i have created a Business rule with the below contents. But i am not sure where to check whether the business rule is invoked for every new incident creation / updation.
Could someone guide where to check or any issue with this script
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2025 11:36 AM
As you have debug logs configured in your script, you can check in the system logs. For checking logs easily, you can add source to the log message and filter logs using source column.
Sample log message below. Here apiTesting is the source that you can use to filter the logs.
gs.log("msg you want to display in logs", "apiTesting");
Also, type "Outbound Http Requests" in the Left navigator, which shows the outbound api requests and their status information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2025 11:36 AM
As you have debug logs configured in your script, you can check in the system logs. For checking logs easily, you can add source to the log message and filter logs using source column.
Sample log message below. Here apiTesting is the source that you can use to filter the logs.
gs.log("msg you want to display in logs", "apiTesting");
Also, type "Outbound Http Requests" in the Left navigator, which shows the outbound api requests and their status information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2025 10:39 PM
Thank you @Swapna Abburi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2025 10:42 PM
Thank you @Swapna Abburi.