+ Start a Discussion

how to get or count casecommets for specific account



i need get total number of case commetns for particular account. i.e for accont to case there is parent to child relation. here case have some case commets, now i need to get casecomments of case associted with particular account.

finally i need to get only casecomments for that specific account. no need to show cases because i need to use this data in google maps.


By some Customization you can achive this , if you want to store this count on Account object then you can use trigger on case comment object and update this value based upon insertion or deletion of record.



Thanks ,