0

Chatter only provides feature to auto-follow based on ownership.

I have a requirement that manager should auto-follow cases and tasks of agents that falls under their hierarchy of role. eg manager-subordinate.

How can this be achieved?

0

There is good Appexchange product which you can try if fulfills your requirement. Or you can write some trigger to autofollow.

//Logic to see if logged in User reports to Manager
EntitySubscription es = new EntitySubscription();
es.ParentId = aid;
es.SubscriberId = "<Managers User Id>" ;
insert es ;
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.