Best answer chosen by admin. Whoid refers to people things. So that would be typically a lead id or a contact id.
Whatid refers to object type things. That would typically be an account id or an opportunity id. The accountid is special part of the native display of 360 degree view of the customer.
This field can be used to query all tasks and events that tell a story around the account. The value is populated automatically by all native objects that relate to account directly or indirectly via whoid or whatid. (tasks and events whatid related to.
It refers to objects. Id of a related account, opportunity, campaign, case, or custom object. Label is opportunity/account id.
It refers to people. Id of a related contact or lead. If the whoid refers to a lead, then the whatid field must be empty.
Label is contact/lead id. If shared activities is enabled, this is the id of a related. This shows the role of the human via his/her contact or lead.
Whoid is polymorphic in nature which generally says that the whoid is similar to the id of contact or lead with its name or label as ‘name’. Whatid is the term used in salesforce for pointing out the type of things or objects. So, basically, it can be the id of account and.
Polymorphic means a whoid is equivalent to a contact’s id or a lead’s id. The label is name. 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. These can be queried individually or via a “view” called activityhistory.
These activities can be reported against in reports both classic and lightning. Whoid in salesforce refers to people things. So that would be typically a lead id or a contact id.
The whoid represents a human such as a lead or a contact. Polymorphic means a whoid is equivalent to a contact’s id or a lead’s id. The label is name id.
Whatid in salesforce refers to object type things. Whoid populates the values for recipient merge fields, while whatid populates the values for the relatedto merge fields. If you don't specify these values, you don't get merged data.
Note that emailing by email address is limited to 5,000 recipients a day. You get unlimited email sends to users, so this would be recommended. Both tasks and events have fields that can relate the activity to other records in salesforce:
Appears as “name”, and references another human, e. g. A lead or contact record. Appears as “related to”, and can contain account, opportunity, campaign, case, or custom object records.
Whoid refers to people things. So that would be typically a lead id or a contact id. Whatid refers to object type things. that would typically be an account id or an opportunity id.
You can use query something like this : Select id, whatid from task. Polymorphic means a whoid is equivalent to a contact’s id or a lead’s id.
The label is name 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.