+ Start a Discussion
Anil DuttAnil Dutt 

Log Activity on custom button in salesforce



Is there any way we can log Activities from some custom button which send email?


Log an Activity when an email is sent from a custom button

My custom button not only send email but do few more things, i called a apex class from custom button to do all the stuff, now want to log activity from same apex class





You could just create a Task, assign the related contact's Id to the task's WhoId, and so on.

Asha NamboodiriAsha Namboodiri

Hi Anil,


I am facing a similar issue. Where you able to find a solution to this query?

Anil DuttAnil Dutt