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
divya1234divya1234 

Review all error messages below to correct your data. Only Date/DateTime/Time/Numeric fields are allowed

i am facing error when i  am trying to count the no of tasks(created by app) on lead object 
User-added image
what should be value of filed agreegate nad realtionship field . is it possible to count the tasks with the rollup helper.please help!

thanks in advance!
SFDC_DeveloperSFDC_Developer
If you have lookup field on Task to lead object then you can use rollup helper to count the tasks. In rollup helper you can't use WhoID field of task.
divya1234divya1234
so what can i use here. we have lookup relationship beetween lead and tasks