- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-19-2016 02:39 PM
When creating a new script include, I set the protection policy to "protected" and can no longer make changes to it.
As I understood the protection policy field, this would only come into effect when users other than the creator attempted to edit it. Even as the user who created the script include (and as admin as well), I still cannot edit this file.
Is there something that I can change on my end, or is this something that I will need to have a ServiceNow admin change?
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-19-2016 03:29 PM
Hi Tom,
I see that the script include you created is in the global scope. Generally protection policy is used in case of scoped applications only.
In Geneva instance if you are in global scope the fields "Protection policy" becomes readonly.
Please let me know if you are facing the similar issue in case of scoped apps so that I can take a look.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-19-2016 03:36 PM
Ahh, interesting. No, when I set the protection policy in an application, it works just fine.
So, just so I'm clear, in the latest version, if you create a script include in the Global scope, the protection policy is read only?
Thank you for your help. That information clears up the why.
Now, is there any way that I can remove global.ValidateUserRoles from my current Fuji instance? I would like to recreate it in the Global scope (though this time, with the information I now have, I will NOT set the protection policy on it).

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-19-2016 03:41 PM
Hi Tom,
The protection policy field is not selectable for latest release in case you are in global scope.
For current situation, I have modified the script include protection policy. Please check and let me know if you are facing any issues.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-19-2016 03:44 PM
Everything looks good in my instance now; thank you again for your help!