Clarification on when Protection Policies apply — only to Script Includes or also in other cases?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi Community,
I just wanted to clarify something regarding Protection Policies in ServiceNow.
Are they applicable only to Script Includes, and only when an application is downloaded from the ServiceNow Store?
Any insights or examples would be really helpful. Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
44m ago
Hi @sndevastik
Protection Policy applicable to script Includes, Business Rules , UI Actions, Scripted REST APIs , UI Policies / UI Policy Scripts , Client Scripts , Flow Designer Actions and etc.,
https://www.servicenow.com/docs/bundle/zurich-application-development/page/build/applications/concep...
When Protection Policies Apply? Installed from the ServiceNow Store and not applicable for custom App Built in Studio on your own instance
Example:
Let’s say you build a scoped app with a Script Include:
Set the Protection Policy = Protected.
Upload the app to the ServiceNow Store.
A customer installs it via the Store.
Result: That Script Include is not viewable or editable in the customer’s instance — even by admins.
If they export your app via update set, or clone it manually, the protection is not enforced.
Thanks,
Vignesh
"If this solution resolves your issue, kindly mark it as correct."