Function getValue is not allowed in scope sn_hr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2025 05:54 AM - edited 05-29-2025 03:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2025 06:07 AM
did this not come in lower instances?
Any business rule is using getValue() in script?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2025 07:06 AM - edited 05-29-2025 03:48 AM
Hi ,
Thanks for your response .
How i can find that ?
Thanks,
Sirisha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2025 07:23 AM
not a good practice to directly do in PROD
Search with business rule contains getValue()
Also you will have to check from any of the business rule script include is called and it has getValue() or not in it.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2025 06:12 AM
In which script is that function present? Can you share that.
OR
Try to create a Global script include accessible from all scopes and move that function to that script include.
OR
Check out this article for more examples.
Accept the solution and mark as helpful if it does, to benefit future readers.
Regards,
Sumanth