09-15-2010 06:34 AM
var mail = actions.create("mail");
mail.parameters.to = "xx@xx.xx";
mail.parameters.subject = "Please review this task";
mail.parameters.from = "xx@xx.xx";
mail.parameters.template = companyhome.childByNamePath("Data Dictionary/Email Templates/Notify Email Templates/notify_user_email.ftl");
mail.parameters.text = "some text, in case template is not found";
mail.execute(bpm_package);
También he encontrado una variante en que en vez de "mail.execute(bpm_package);", usan "mail.execute(document);", que entiendo que se aplica en las reglas de una carpeta o documento.var p = people.getPerson("nombreUsuario");
mail.execute(p)
Pero me da este error al ejecutar: org.alfresco.repo.jscript.NativeMap cannot be cast to java.io.Serializable09-23-2010 12:25 PM
10-04-2010 04:17 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.