Activity Forums Salesforce® Discussions What is WhoId and WhatId in Salesforce activities?

  • Suraj

    April 19, 2017 at 2:11 pm

    Hi Manpreet,

    WhoID refers to people. Typically: contacts or leads. Example: LeadID, ContactID

    WhatID refers to objects. Example: AccountID, OpportunityID

  • shariq

    August 4, 2017 at 9:42 am

    Hi Manpreet,

    WhatId :-

    It refers to objects.

    ID of a related Account, Opportunity, Campaign, Case, or custom object. Label is Opportunity/Account ID.

    WhoId :-

    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 Lead or primary Contact.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos