Export to XML throws "Security restricted when invoking processor" error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2022 02:53 AM
Hi All,
I have a requirement where I need to create a new Role to allow non-admin role users to retrieve/preview/commit update sets or set up update sources. While setting this up the Export to XML found on the related list of a local update set or retrieved update set is not working, even after adding the condition gs.hasRole('custom_role_name') to the UI Action. I have followed the steps mentioned KB: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0824660.
The error I observed is as follows:
Please help, if there is a know solution to this. Thanks in advance.
Regards,
Sumol S.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2022 03:38 AM
Hello,
Make sure of 2 points:
- Elevaute roles.
- when you export data make sure to be on the same application scope that the data on.
Let me know if that works with you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2022 04:19 AM
Hi Saif,
Thanks for your update, I have exported the data on the same scope and if not for elevating the role what other changes can be made. Can you let me know the cause of the error "Security restricted when invoking processor"? If it is due to ACL or some other issue?
Appreciate your help.
Regards,
Sumol S.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2022 04:59 AM
Hi Sumol,
I believe this error related to a processor that called "ExportUpdateSet", you can write "Processors" in the app nav, under system definition you will able to find it.
So my suggestion here to creare a new ACL but be careful to select ACL type as "Processor" and the name should be "ExportUpdateSet" & create another ACL with name "ExportBaseUpdateSet", so the total should be two(and write your ROLE name in the ACL).
I didnt try this so I am not sure 100%, but I am waiting your feedback soon, good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2022 09:35 PM
Hi Saif,
I have tried creating these two ACLs as suggested by you, but its not working. It still shows the same "security restricted when invoking processor".
If you have any other suggestions, Kindly help me with it.
Thanks in advance.
Regards,
Abinaya A