Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Mauricio Lucian
Tera Contributor
Update Sets by Non-Administrators.
Documentation.
Use case: An analyst needs to use update sets to manage groups across the
instances, for that it needs access to update sets and XML exports/imports.
Development instructions: - Create the role “update_set_n_admin” and a group to add users.
- Add the Role to the group and the test user Itil. - Add access to Update Set menus and modules. - Add Create, Read and Write (identical to the pre-existing admin) to all following tables. Case in the access rule are present the role “nobody” ignore the rule.





- Edit following UI Action to receive new Role:

- Edit Following ui Macro to enable Export XML (add following lines)

        <g2:evaluate var="jvar_context_menu_export_xml" expression="gs.hasRole('update_set_n_admin')" />
        <g2:evaluate var="jvar_context_menu_export_xml" expression="gs.hasRole('admin')" />

Create following sys_properties

- Edit following Context Menus



References:
Unable to export to XML for non-admin users such as ITIL: 
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0852765
Can non-admin role users retrieve/preview/commit update sets or set up update sources ?
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0824660
Grant access to the update set picker
https://docs.servicenow.com/en-US/bundle/sandiego-applicationdevelopment/page/build/system-update-sets/task/t_GrantAccessToTheUpdateSetPicker.html
Version history
Last update:
‎07-15-2022 10:17 AM
Updated by: