Showing results for 
Search instead for 
Do you mean 
Reply

Issue while taking a role away from an user

Hello,

TC doesn’t allow removing an user from a Role if the user has completed Signoff tasks in Workflows. The following error message appears.

“Delete member failed

User is referenced by Signoff objects and hence cannot be deleted. User can be deactivated by changing the user status to inactive.”

 

As suggested here, one can set the user inactive but that would remove user from all the Groups/Roles in the organization tree. Not a desired solution. On the other hand an attempt to transfer ownership of all such objects to another user doesn’t help either. TC still doesn’t allow because of the references to the user by signoff objects. Is there any other solution or workaround? A sample Scenario with Screenshot attached here.

 

Thank you for any help.

3 REPLIES

Re: Issue while taking a role away from an user

Response from TC Discussion:

 

*****Copied*****

 

changing the organization i.e. removing the users from a group / role is pretty difficult after using TC for a while. Especially if there are any signoffs done by them. The error message you are getting about “Deleting the user” is right. It just should actually say – not user but the GroupMember object. TC uses the triplet (user, group, role) combinations to remember which user did the signoff. If you remove the user from role, it needs to modify this object with triplet and this is not allowed. (Changing the signoffs afterwards is not the real PLM – in some countries it is legal offence that you are eventually falsifying the records ;-) ) So TC doesn’t “legally” allow this. The only way to get over is direct access to DB. We did this at one customer when he wanted to reorganize completely. He had to sign this statement with our legal dept. before we changed it.

 

So better keep the user in group/role and inactivate it if you don’t want to write SQL statements to change this. ;-)

 

Mit freundlichen Grüßen / Best Regards,

- Dev.

Deodatt Bawachkar

 

*************************

 

 

Re: Issue while taking a role away from an user

This is exactly the situation. Thank you very much. Quite helpful.

Re: Issue while taking a role away from an user

There is another approach. What would happen if you had a Group called "Inactive" and a Role called "Inactive" then changed the User's default group to Inactive and removed all other group memberships. Finally, Inactivate the User.

 

Best,

/Randy


Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11.0.1.mp01 | SW 2016 | TcUA 11.2.3
Evaluating:AW 3.2