logs of errors when integration cannot create incident
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
Hi community,
is there any easy way to search for logs if an integration that creates incidents can no longer create incidents?
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
Hi there @AnthonyMull
You can just simply log your script using a gs.info or gs.log, i mean if you are calling you integration via Business rule or scrip include or scripted rest, you just log the req body and response body,
or you can just log the status code incase of successful creation the status code will return 200.
Kind Regards,
Azar
Serivenow Rising Star ⭐
Developer @ KPMG.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
Hi @AnthonyMull ,
Start with System Logs: Go to System Logs → All and filter by the integration user or keywords you know the integration uses. This shows errors like authentication failures or script issues.
Check Transaction Logs: Go to System Logs → Transactions. Filter for the `incident` table and the integration user. This tells you if the system is receiving calls but failing to insert records.
Audit Logs: Look at System Logs → Audit to see if incident records were attempted but blocked by business rules or ACLs.
Identify the integration path: Confirm how incidents are normally created (REST API, email, import set, MID Server, etc.). Then check the logs tied to that mechanism.
Verify credentials and roles: Make sure the integration account still has the right roles and hasn’t expired.
Recent changes: Check if any new business rules, ACLs, or transform maps were added that could block incident creation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Could you Please accept the solution if that solves your problem.
Thanks,
Pavani.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
Ahoy @AnthonyMull,
depends on the configurations. You can have error logs added in the transform script or other options.
If you have an integration service account, you can create a dashboard/report with incidents created in last 1 hour/day/week to see if there is any record created, if it is empty then something's wrong..
Answers generated by GlideFather. Check for accuracy.