02-05-2010 10:48 AM
<script>
var mail = actions.create("mail-attach");
mail.parameters.to = "email@email.com";
mail.parameters.from = bpm_assignee.properties["cm:email"];
mail.parameters.subject = "EMAIL NOTES" ;
for (var i = 0; i < bpm_package.children.length; i++) {
var doc = bpm_package.children[i];
var myTemplate = companyhome.childByNamePath("/Data Dictionary/Email Templates/Notify Email Templates/mymail.ftl");
var args = new Array();
args["notes"] = ???????????????????????????????????
var result = doc.processTemplate(myTemplate, args);
mail.parameters.text = result;
mail.execute(doc);
}
</script>
02-16-2010 04:43 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.