Skip to Content
Menu
This question has been flagged
2 Replies
2224 Views

  Any body can help me to create a task for my subordinates only  

Avatar
Discard

Actually i need to Create new task, and when i open the drop down (Assigned to) Only subordinate appear


if someone provide me how to make this rule, really i appreciated

Best Answer

I think you can do this through coding. You can do this by adding a condition in the "create" method that checks the manager of the person that the task is being assigned to him, if this manager is the current logged in user , " you ", then let the "create" method do the creation, otherwise , raise an exception saying that : " the person you are creating a task on is not one of your subordinates"


Another way is by using Rules, and this is more proficient. In this way you have to add a rule on the subordinate table so that you can not see anyone other than yours.
Avatar
Discard