This Example would show the usage of the style record comment Task.
It contains a “show notification” and a “send email” block, because within my Demo environment the “send Mail” is disabled in execution to prevent spam.
But you could see the result during the “show notifications” block, also if format is not correct.
This example load the 5 latest comments from the current record and write the styled output into $env[“comments”].
The task “show notification” use this variable to output the result.
The “send Email” task will show how you could use this within an email.
Link to Demo:
http://demo61.stefanwarnat.de/index.php?module=Workflow2&view=Config&parent=Settings&workflow=24
Download
[wpdm_package id=458 template=”link-template-default-icon.php”]