Trigger – Count Number of Open Tasks and Closed Tasks on the Account.


Hello guys,
Today, I’m sharing the trigger code that how you can count the number of open tasks and closed task on the account. For this, you need to make to custom fields on Account. They are –
  1. Open Task field.
  2. Closed Task field.

Apex Trigger code –



Thanks.

Happy coding.
Next Post Previous Post
No Comment
Add Comment
comment url