HI Team ,
Currently i am working on sending the email from work flow to specific groups , but i get few errors doing it.
following is my bpmn diagram.
class="org.alfresco.repo.workflow.activiti.listener.ScriptExecutionListener">
var mail = actions.create("mail");
var candidateGroupName = "GROUP_AZ RRD Client Services";
var candidateGroup = new Array(candidateGroupName);
mail.parameters.to_many=candidateGroup;
mail.parameters.subject = "Adhoc Task " ;
mail.parameters.from = initiator.properties.email;
mail.parameters.text = "It's done";
mail.execute(document)
.
it says the document not defined error.the email notification doesn't works
can any one please suggest me about the problem .
Thanks
Srikanth S