- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2024 01:27 AM
Hello !
I created a role to Export Update Sets to XML without having the admin role.
For this:
- I authorized access to the Application Menu and Modules.
- I added the necessary ACLs to the role (sys_update_set,sys_update_xml,sys_remote_update_set,...)
- I modified the Macro UI 'context_form_header' (<g2:evaluate var="jvar_context_menu_export_xml" expression="gs.hasRole('my.role')" />)
- I added the role in the 'ExportBaseUpdateSet' and 'ExportUpdateSet' Processors.
But when I want to export my Update Set, I am blocked by the following message: 'Security restricted when invoking processor'
Do you know the reason ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-20-2024 11:26 PM
Update !
I had to add the role in the 'role' field and in the script of the 'ExportUpdateSet' processor.
https://<instance-name>.service-now.com/now/nav/ui/classic/params/target/sys_processor.do%3Fsys_id%3Dfb4038b40a0a3c1e00d0a2c1d3908a33%26sysparm_record_target%3Dsys_processor%26sysparm_record_row%3D3%26sysparm_record_rows%3D4%26sysparm_record_list%3DnameCONTAINSupdate%255EORDERBYname

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2024 01:40 AM
@Clement_V According to the ServiceNow docs, only Admins can export the Update set XML.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2024 04:32 AM
Thanks to you, but I think it is possible without the 'Admin' role because I have consulted the publications of other users who have succeeded but without encountering my problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-20-2024 11:26 PM
Update !
I had to add the role in the 'role' field and in the script of the 'ExportUpdateSet' processor.
https://<instance-name>.service-now.com/now/nav/ui/classic/params/target/sys_processor.do%3Fsys_id%3Dfb4038b40a0a3c1e00d0a2c1d3908a33%26sysparm_record_target%3Dsys_processor%26sysparm_record_row%3D3%26sysparm_record_rows%3D4%26sysparm_record_list%3DnameCONTAINSupdate%255EORDERBYname