Skip to main content
1-Visitor
Mar 27, 2013 3:21 PM UTC
Question

Removing a user From a Context Team Role via Workflow

Hello All,


I am looking for a way to remove a username from a specific Role via an activity transition or an Expression Robot, more specifically the Product Manager role, I would like a user to be able to create a product context, but remove his/her name from the Product Managers role, upon completion of the task.


Thanks in Advance


Robert Serhan

1 reply

1-Visitor
Mar 29, 2013 7:05 AM UTC

Hi Robert ,


The code snippet shd look something like ,


ContainerTeamHelper.service.removeMember(ContainerTeam,Role,Principal);



Similarly using the same ContainerTeamHelper you can also add users.



Regards,


Sriram Rammohan

Translate