Activity › Forums › Salesforce® Discussions › What is WhoId and WhatId in activities?
-
What is WhoId and WhatId in activities?
Posted by Sumit kumar on May 13, 2020 at 1:07 PMWhat is WhoId and WhatId in activities?
Shweta replied 6 years ago 3 Members · 2 Replies -
2 Replies
-
WhoID in Salesforce refers to people things. So that would be typically a Lead ID or a Contact ID. … WhatID in Salesforce refers to object type things. That would typically be an Account ID or an Opportunity ID. The WhatId represents nonhuman objects such as accounts, opportunities, campaigns, cases, or custom objects.
- [adinserter block='9']
-
WhoID: It refers to people’s things. So that would be typically a Lead ID or a Contact ID. It represents a human such as a lead or a contact. It is polymorphic. Polymorphic means a WhoId is equivalent to a contact’s ID or a lead’s ID. The label is Name ID.
WhatID: It refers to object type things. That would typically be an Account ID or an Opportunity ID. The WhatId represents nonhuman objects such as accounts, opportunities, campaigns, cases, or custom objects. WhatIds are polymorphic. Polymorphic means a WhatId is equivalent to the ID of a related object. The label is Related To ID.
Log In to reply.