how to fix bug in background script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
how to fix bug in background script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
What error you are getting?
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
without sharing the script you tried and what's the bug we can't help
share proper details
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @niyati20011
Share the error screen shot. then only we can help you to fix the bug.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Dear @niyati20011,
Please share the error message and relevant code snippet for more targeted troubleshooting. In the meantime, please review the following:
Review the script for syntax errors and incorrect GlideRecord usage.
Add gs.info() statements to identify the exact point of failure.
Verify table names, field names, and query conditions.
Check System Logs for errors, warnings, or exceptions.
Validate record counts before processing large datasets.
Consider Business Rules, ACLs, and scope restrictions that may affect execution.
Test the logic in smaller sections to isolate the root cause.
Hope this helps. If this response addresses your query, please consider marking it as Helpful.