Question with 1 business rule

suresh kaliappa
Tera Expert

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? 

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@suresh kaliappa 

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.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Mohith Devatte
Tera Sage
Tera Sage

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