05-08-2012 06:23 AM
…
var mail = actions.create("mail");
mail.parameters.to = "email@gmail.com";
mail.parameters.subject = "New Alfresco workflow submission: ";
var templateArgs = new Array();
templateArgs['user'] = "workflowId";
var templateModel = new Array();
templateModel['args'] = templateArgs;
mail.parameters.template_model = templateModel;
mail.parameters.template = companyhome.childByNamePath("Data Dictionary/Email Templates/email_group_document_workflow.ftl");
mail.execute(bpm_package);
</expression>
..
and my ftl :
<html>
<body>
<p>Hi <strong>${user}</strong>,</p>
……
</body>
</html>
Can anyone help me me with this?05-17-2012 10:25 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.