Skip to main content

What is WhoID and WhatID in salesforce , Could you please tell me the difference between these two

 

5 answers
  1. Mar 30, 2023, 11:11 AM

    Hi @Raj Kamal

    The WhoId and WhatId fields are similar as they are both populated by Ids of other records within your Salesforce environment. However, that is where the similarities end.  

    WhoId is used for our “human” objects, Contacts and Leads, and is labeled as “Name” on the Task and Event objects.  

    WhatId is used for multiple other objects that are not human-related and is labeled as “Related To” on the same objects.

    Please find the below resource for understanding more:

    https://www.salesforceben.com/what-is-the-difference-between-whoid-and-whatid/

    https://sfdcdevelopers.com/2020/03/28/difference-between-whoid-and-whatid/

0/9000