- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2023 05:46 AM
Hello All,
I'm testing an OOO DevOps flow in Flow Designer. It is the "DevOps Integration - Discover", it is autoamtically added once you install the DevOps Change Velocity app in your instance. The error I'm receiving is one that I couldn't find in the documentation, nor the community.
The error says: "Attempted to add black listed role: [*Here it is a sys_id that doesn't exist in the instance*]".
Having a look at the flow engine context, I found this in one of the actions:
"com.snc.process_flow.exception.ProcessAutomationException: Attempted to add black listed role: [*sys_id*]"
I don't really know what it means and how to solve it, so any suggestion is welcome.
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2024 09:11 AM
Hello all.
Sorry for the delay. The project was on hold for some time and after that I forgot to add the answer here. After a ticket with ServiceNow, we found that the problem was as follows:
The main issue was that under the 'Contain Roles' related table, inside the ‘sn_devops.viewer’ and the ‘sn_devops.tool_owner’ roles records, there was a role named '(empty)' (the SN employee also told as that it could also be named 'sn_change_read is listed'). After we removed it, and checked that the sys id was not in the XML file, the issue was solved.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2023 08:31 AM
hi,
Have you checked all the roles related to dev ops are installed otherwise please repair the installation.
Also you can try going via "https://docs.servicenow.com/bundle/vancouver-devops/page/product/enterprise-dev-ops/concept/dev-ops-...
It was pretty straight ford installation and i was able to connect azure dev ops and related insights recently.
Regards,
Luxo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2023 07:47 AM
Hi All
Same error here when trying to discover repository from a Bitbucket tool.
I have the 6 expected roles.
Regards,
Yann
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2024 03:02 AM
Go to flow properties and check if it has role in run with roles. if present copy the role, Open that role form sys_user_role table, check if it contains any of the roles which are deleted or not present. Try not to have the roles deleted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2024 09:11 AM
Hello all.
Sorry for the delay. The project was on hold for some time and after that I forgot to add the answer here. After a ticket with ServiceNow, we found that the problem was as follows:
The main issue was that under the 'Contain Roles' related table, inside the ‘sn_devops.viewer’ and the ‘sn_devops.tool_owner’ roles records, there was a role named '(empty)' (the SN employee also told as that it could also be named 'sn_change_read is listed'). After we removed it, and checked that the sys id was not in the XML file, the issue was solved.