Announcements
Hi,
When I am trying to delete a security role. I got a process error that this type of record cannot be deleted. when I download the log file there was a message on error details that "cannot not delete a workflow dependency associated with workflow activation". How can I delete that security role?
*This post is locked for comments
Hi SAI,
The error log should specify the GUID of the workflow. Navigate to Settings > Process, select all and Export to Excel. Then you can search for the GUID to find the workflow. Then open the workflow and click "Show Dependencies" to find the dependencies of the workflow. Once you remove the dependencies, you'll be able to delete the Security Role.
Your workflow must be set to 'run as the owner of the workflow' and probably thats why you are getting it.
I hope you are not trying to delete an OOB Security Role. if its custom, check the dependencies first
Hello Sai,
this means that one of your security role has dependencies with a workflow, I find it very strange that it is referencing workflows as its not possible in 2011 to reference a security role.
what I would do is export the solution and check the XML for dependencies associated with the security role,
remove those dependencies and then you will be bale to delete the security role
André Arnaud de Cal...
293,518
Super User 2025 Season 1
Martin Dráb
232,595
Most Valuable Professional
nmaenpaa
101,158
Moderator