function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Relate an activity to a contact and a lead record.

We are going to keep certain types of leads from existing clients and as a result we want to be able to create an activity and log it against the contact record and relate it to the lead object. WhoId = & WhatId = Lead.Id. Even if we could simply fire text into the WhatId rather than creating the standard link would be ok.

Thanks in advance

I suppose its not possible to have the WhoID and What ID be contact and lead.However, if you willing to have the field as text - you can also create a ustom field for task and have it filled it at the time of task creation.