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
Raghavendra Sharma 12Raghavendra Sharma 12 

i am create a custom field in account object name countstatus, if open activities related to that account task status is completed then field count plus one and so on. please help me

RbnRbn
Hi raghavendra,

There are few ways of achieving this requirement:
  1. Using Trigger : You can go through the sample trigger for help. (https://developer.salesforce.com/forums/?id=906F0000000AcdaIAC)
  2. Using Flows & Process Builder : (https://www.xgeek.net/salesforce/create-roll-up-summary-field-to-count-contacts-on-account-with-process-builder-and-flows/)
Let me know if it answers your question.

Regards,
Rabi