Question with 1 business rule
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2025 06:51 AM
Hi all ,
When i come across 1 issue, The issue happens from the business rule in table sys_app_application. The name of the business rule was Deactivate menu if app is inactive.
In this business rule only 1 line of code was used. The code was:
Script : SNC.Apps.changeActiveStateForItem(current);
The above script i was unable to understand either this was passing from script include or from any other application. So could someone please suggest how to identify from where the script was called here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2025 06:56 AM
that line of code is calling an internal function present in script include which is at platform level
we don't have access to 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
04-30-2025 06:59 AM
Hello @suresh kaliappa ,
Usually for the scripts with names SNC we will not have access to view/edit it as those are configured internally and can be accessed by maint users i guess.
But yes this BR deactivates the menu if the application is inactive using a script include.
Thanks,
Mohith Devatte