+ Start a Discussion
jadentjadent 

Difference between WhoId & WhatId on Task

On the task there is a WhatId and a WhoId. Sometimes the WhatId is filled in and others have the WhoId filled in. In which situations is one used over the other?

 

Thanks 

Best Answer chosen by Admin (Salesforce Developers) 
dkorba2k5dkorba2k5

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

All Answers

dkorba2k5dkorba2k5

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

This was selected as the best answer
Praba kPraba k
when i submit savelog , can i create task in both object i mean in whoid and whatid ?