How to find which objects have tasks related to it in Salesforce? March 2, 2020June 9, 2022InfallibleTechie Admin Below SOQL can be used SELECT What.Type, COUNT( Id ) FROM Task GROUP BY What.Type