Symptoms
When attempting to delete the roles from K2 Workspace, the following error is thrown:
Role has dependencies. Can't delete.
The process that makes use of this role have been deleted.
Diagnoses
This is currently a bug.
Resolution
To workaround this bug, please perform the following:
1. Please make a database backup before performing the step below
2. In the K2 database, there is a 'Server.kDestQueueRemove' stored procedure that accepts the parameter 'QueueID'
a. this stored proc can be used to remove the DestQueue entry and dependencies, allowing for the removal of the Role from K2 Workspace
b. the hName] column within the hServer].rDestQueue] table will correspond with the Role Name that you wish to remove
The Role can now be deleted from K2 Workspace.