- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
I tried to get the number, priority, and short description value entered in the description field when I made changes in the existing incident's caller field. The for loop does not get all incident details after parsing it. Can anyone help me fix this error? alert(obj) shows a null value.
Script includes:
I made a client script:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Hi @Amandeep39
at start of your script i see this issue .
pushing data into an undefined array incArray but you have used inArray
Regards,
Mohammed Zakir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Hi @Amandeep39
at start of your script i see this issue .
pushing data into an undefined array incArray but you have used inArray
Regards,
Mohammed Zakir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
point mentioned by @Mohammed8 is valid.
please update the array name in script and it will work fine
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader