You need to sign in to do that
Don't have an account?
dwright-glgroup
Creating a shared activity from Apex example
Does anyone have an example you're willing to share of creating a task from Apex code and attaching multiple contacts?
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
Does anyone have an example you're willing to share of creating a task from Apex code and attaching multiple contacts?
Hi,
Try below :-
Hi Vinit,
That code will create a non-shared task, but what I want to do is to have multiple contacts for the task, e.g.
Id contactIdOfJoe; // primary contact
Id contactIdOfFred; // secondary contact
new Task(Status=,, WhoId=contactIdOfJoe, .... (something) = contactIdOfFred);
Thanks,
Dave