I have a lookup from Case to Lead. Whenever a new Case is created if the contact field is not filled for the record , it sends an auto response mail to the corresponding Lead. I did this using trigger. How can I track the email in the activity history of the respective case?

  • case auto response rule works fine, but it sends the response message only to contact, not to lead – Arjun Anilkumar Dec 29 '17 at 9:29
  • If you are sending the email using a trigger, then you should be able to create an Activity record for the case using the trigger as well. Where are you getting stuck? – David Cheng Dec 29 '17 at 22:45
  • from what I understand from my part of research on this is that Activity history is read-only. To solve the issue, I had to make a visual force page and add it to the case layout – Arjun Anilkumar Jan 4 '18 at 8:24

I made a Visualforce page that uses the standard controller tag referencing the case object and added the page to the case layout. this was fine enough.

| improve this answer | |

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.