- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-14-2024 09:52 PM - edited ‎10-14-2024 09:55 PM
I'm getting an error message when trying to update a record. How can I debug the issue?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-14-2024 10:00 PM
Hi @mahesh009
Use the
gs.log()
function to log information to the system logs. You can also check the ServiceNow logs for error messages.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-14-2024 11:05 PM
Hi @mahesh009
When encountering an error while trying to update a record, debugging the issue involves several steps that vary depending on the technology or platform you are using.
Utilize the gs.log() function to record information in the system logs, and also review the ServiceNow logs for any error messages.
Thanks, and Regards
Vishaal
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-14-2024 11:13 PM
Hi @mahesh009 ,
Please share some more information e.g. the script and the error message. by doing this it will be much easier to help you.
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Best regards
Anders
If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.
Best regards
Anders
Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2024 12:47 AM
Hi @mahesh009
Check the server script and operations on server. use gs.log() to see logs in System logs.
Thank you.