How to add records to tables which requires maint role
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2023 03:57 AM
We are trying to add Subscription has Application relation data manually in our developer instance using the below query:
var ld = new GlideRecord('license_has_family');
ld.license_family = '037fee2287df11100d83b8c6cebb35b9';
ld.license='c620e2ce87d4a5100d83b8c6cebb354f';
ld.insert();
But the record in not getting inserted. Moreover we are seeing the access denied error for license_has_family/create in the logs. On checking the ACL, we see the required role is maint.
Could someone please help us as how we can add the records to those tables that require the maint role.
Thanks.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2023 07:51 AM
Hello @Nagesh10
Any ACL that requires 'maint' role for execution will not be accessible by admins or end users.
'maint' role is explicitly give to ServiceNow internal employees and personnels.