02-07-2020 12:48 PM
Hello,
I have 3 agents that I need to remove all their skills so I can delete the agents later. I can change their skills and delete skills except for any skill that is their last skill. I get error message "Failed to update the database. Delete of SkillGroupMember failed. SG count for Agent xxxxx is invalid" See attached image.
Like I said, I can add another skill and delete any they have, just can't delete the last skill that they show assigned to.
I'm using Config Manager, not the web re-skilling tool.
02-07-2020 04:01 PM
Is it just these three agents that have this issue?
If so, is it possible that after these agents were initially built, that someone changed some of their configuration information and never let you know? Changing that can cause problems as far as doing normal changes to them. If that's the cause, you'd likely have to do an exit opc on that agent PG to clear out the config.
04-08-2020 06:27 AM
So the situation is I have an admin that removes the skills from the Agents as part of off boarding process, then would normally delete the agents. Which ever skill is left as the last Skill assigned, you can never remove that skill hence the agent can never be delete.
Guess I should try that exit opc during a maint window?
04-08-2020 06:33 AM
05-06-2020 08:52 AM
So I opened a TAC case on this which they pointed me right back to bug CSCva35830, then gave me options of either installing 10.5.3 ES8, or doing the exit_router in RTTEST utility. What are the down sides if any on doing an exit_router, any gotchas?
Is this something that should be done say 2-3 times year without harm. Hopefully this site will be off the 10.5.1 pretty soon.
05-06-2020 08:56 AM
05-06-2020 06:29 PM
Agreed, I would do the exit_router instead of adding an ES which might introduce some other issue.
You could even just bring down both sides and do any type of monthly/quarterly Windows patches at the same time to kill two birds with one stone. Normally I wouldn't try and combine work, but in this case you're basically just bringing down both sides briefly, so why not have one maintenance window?
05-14-2020 09:10 AM
After running the exit_router command during a maint window, I was able to successfully remove the skills from the agent and subsequently delete the agents.
05-14-2020 06:18 PM
Thanks for posting the confirmed solution.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide