function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Vipin  PulinholyVipin Pulinholy 

Count # of Activities

Hi,

 

I want to Display # of Open Task on a custom field on Account & Opportunity.  Is there a way to display this ( Count (open Task) on Account/Opportunity)) with out using Trigger?

 

Could you please share your thoughts?

 

Thanks. 

 

JimRaeJimRae
Tasks and Events are not Master Detail relationship objects, so the concept of using a Rollup Summary field would not work.  I don't believe a workflow update would work.  A trigger is likely to be your only option for this requirement.
Vipin  PulinholyVipin Pulinholy
OK. Thank you Jim .