- 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 09:55 PM
Hi @mahesh009
Could you please share a screenshot of the code?
Thank you
Eshwar
- 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 10:04 PM
Hello @mahesh009
@What error message you are getting. Please share the screenshot of the error and script.
Kind Regards,
Ravi Chandra
- 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.