I have a requirement to add user to case team and need to validate that user should be skilled resource and should have specific skills otherwise do not allow to add that user to case team. I was expecting that trigger on caseTeamMember will work but it seems we can not write trigger on it. Any thoughts, how we can achieve it?

Thanks in Advance !!


As a workaround, You can create a custom VF page which will take input from the user to add the members to a case and use it as List button. In the controller, You can validate the details before insert. Creating CaseTeamMember is allowed through the apex.

Find here more detail about this object:- CaseTeamMember

Yes, You are right that salesforce has the limitation as we cannot write trigger for CaseTeamMember object. You are not left with more option as the validation rule is also not allowed.

  • Anything on the road-map for a CaseTeamMember trigger? I don't find any documentation around this as a future enhancement. We now officially have AccountTeamMember and OpportunityTeamMember triggers. – Glen De Marcos Oct 24 at 17:33

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.