1

I am using Enhanced Emails.

My use case is as follows: When on the contact record, if the user clicks the send email button, they can send the email, and the "Related to:" field is filled out with the appropriate contact record ID. This is then reflected on the activity history (probably the most important part)

This works perfectly fine on any other object, say on an Account, if you send an email on the account object to someone, it is reflect on the "Related To:", filling it out with the AccountId and is put into the activity history.

The issue is that Contact doesn't appear to be something you can select on the "Related To:" field. Is there anyway to add this?

Thanks

1

For Task, the Related To field is known by API Name WhatId and per the Task Object doc, it must be:

Type reference

Properties Create, Filter, Group, Nillable, Sort, Update

Description 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.

Thus, WhatId is never a Lead or Contact or User

The Task.WhoId represents the Lead/Contact or User

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.