+ Start a Discussion
Niraj Kumar 9Niraj Kumar 9 

Need a trigger to count all task associated with Account, contact and opportunity. Update the Account Count field

Hi Guys,

I need a trigger to count all task associated with Account, Contact and opportunity .Update the Account count field in Account .
Eg- Account have 2 task and related Contact and opportunity related to this Account have one one task respectively.
In Account count field Show 5 instead of 2.

Thanks in Advance
Niraj Kumar 9Niraj Kumar 9
Hi,

Sorry . In Account Count Field Shows 4 instead of 2.