Here’s a question someone tried to stump one of our SEs with this week; how could a customer trigger a workflow if the Lead “views” a campaign email? It’s actually quite possible, but requires a code change to do this via Workflow.
For the code change, add the snippet below to a new file named campaignlog_workflow_enable.php in the custom/Extension/application/Ext/Include/ directory…
$moduleList = 'CampaignLog';
After doing a Quick Rebuild and Repair, you can now go and create a new workflow as shown below, with the target module as ‘Campaign Log‘ and the condition as ‘Activity type equals Viewed Message‘.
Thanks to Harald Kuske for this solution!