• #14898
    Salesforce | Hazel Hazel #321
    Forcetalks

    What is the difference between WhoId and WhatId?

    What is the difference between WhoId and WhatId?

    Tagged: , , ,

    #14919
    Salesforce | Himanshu Himanshu #297
    Forcetalks

    Hi Hazel,

    WhoID – refers to people things.Ex- Lead ID or a Contact ID
    WhatID- refers to object type things.Ex- Account ID or an Opportunity ID

    #21919
    Salesforce | Shaharyar Shaharyar #407
    Forcetalks

    WhatId: ID of a related Account, Opportunity, Campaign, Case, or custom object. Labelis Opportunity/Account ID.
    WhoId: 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.

    whoid & whatid

    #34617
    Salesforce | shariq shariq #1
    Forcetalks

    Hi,

    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. WhoIds are polymorphic. 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. WhatIds are polymorphic. Polymorphic means a WhatId is equivalent to the ID of a related object. The label is Related To ID.

    Hope this helps.

    #35258
    Salesforce | Parul Parul #2
    Forcetalks

    Hi hazel,

    WhoId is used for LeadID or ContactId,Basically WhoID in Salesforce refers to people things.The WhoId represents a human such as a lead or a contact. WhoIds are polymorphic. Polymorphic means a WhoId is equivalent to a contact’s ID or a lead’s ID. The label is Name ID.

    WhoId is used for Account ID or Opportunity ID,Basically WhoID in Salesforce refers to Object things. 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.

    Thanks

    #35260
    Forcetalks

    Hello,

    In simple Words, WhoId refers to the person while WhatId refers to Things in salesforce.

    Thanks.

Viewing 6 posts - 1 through 6 (of 6 total)

Please to reply to this topic.

CONTACT US

We're not around right now. But you can send us an email and we'll get back to you, asap.

Sending

About Us

Forcetalks is a Salesforce collaboration platform for coders & developers, geeks & nerds, consultants & business heads, admins & architects, managers & marketers and of course the business owners. A community where you can learn from, where you can contribute to. For you. For Salesforce. Read More...

Copyright 2018 Forcetalks. All Right Reserved.

Log in with your credentials

or    

Forgot your details?