Skip to main content
1-Visitor
October 14, 2015
Solved

Block the Reassign option

  • October 14, 2015
  • 1 reply
  • 2083 views

Hi,I would like to know if it is possible to block the option to reassign task?

Best answer by LoriSood

If you want to remove the action for everyone you can remove it from the action models where it is used. OOTB the Reassign action is used in the following action models:

Reassign:

10-15-2015 6-19-46 PM.png

Reassign Tasks:

10-15-2015 6-24-30 PM.png

If you want to remove it for certain users then you will need to create a custom validator to determine when the action should be enabled. OOTB the action is enabled by the validators highlighted above.

This article provides steps to remove a different action from its associated action models. The general process should be similar for removing these actions, if desired:

https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS156342

1 reply

LoriSood23-Emerald IAnswer
23-Emerald I
October 15, 2015

If you want to remove the action for everyone you can remove it from the action models where it is used. OOTB the Reassign action is used in the following action models:

Reassign:

10-15-2015 6-19-46 PM.png

Reassign Tasks:

10-15-2015 6-24-30 PM.png

If you want to remove it for certain users then you will need to create a custom validator to determine when the action should be enabled. OOTB the action is enabled by the validators highlighted above.

This article provides steps to remove a different action from its associated action models. The general process should be similar for removing these actions, if desired:

https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS156342

1-Visitor
October 19, 2015

Hi Lori, thanks for your answer.

It works fine for block to all users. I'm trying to create a custom validator to block to specific role, but i have a little difficulty.

Thanks a Lot

23-Emerald I
October 19, 2015

I'm not sure how comfortable you are with writing the Java code for custom validators, but this article gives a high-level overview of what needs to be done to create a validator based on a user's group membership. It should be similar steps to do it based on the role:

https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS158947