logs of errors when integration cannot create incident

AnthonyMull
Tera Contributor

Hi community,

 

is there any easy way to search for logs if an integration that creates incidents can no longer create incidents?

 

Thank you

5 REPLIES 5

Its_Azar
Mega Sage

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.

☑️ If this helped, please mark it as Helpful or Accept Solution so others can find the answer too.

Kind Regards,
Azar
Serivenow Rising Star
Developer @ KPMG.

pavani_paluri
Kilo Sage

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 it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Pavani P

 

Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Pavani P

Could you Please accept the solution if that solves your problem.

 

Thanks,

Pavani.

GlideFather
Tera Patron

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.