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
Robert WynterRobert Wynter 

Add email alert history to Account/Opportunity activity history from workflows

Could I please get some help creating a trigger that could somehow attach the email alerts from the workflows to the Account/Opportunity Activity History? I'm actually surprised that this isn't already part of SF.
Praful GadgePraful Gadge
Hi Robert,

You can create a completed task on the same record at the same time email sent from workflow, this will create a task in history of the record on which workflow was fired.

Please let me know if you have any issue further.

If this post is your solution, kindly mark this as the solution to the post so that others may benefit.

Regards,
Praful G.