You need to sign in to do that
Don't have an account?
Adarsh Nandan
Related To Activity History ?
Hii , Just I Want to make a ActivityHistory on What Id Object not on Target Object Id on Sending an Email From Apex . Then What Can I do ?
Its Urgent. Actually my Email Is Go From Cutom Object Email Field and also Using Email template ?
The Activity is only created if the recipient list is based on targetObjectId, so you can not avoid setting WhoId. So the wrok around is to insert Activity record explicity in Apex where you can only set WhatId and not WhoId.
Hope this helps you !