11-17-2013 10:29 PM
11-19-2013 06:10 AM
<boundaryEvent id="boundarytimer1" name="Timer" attachedToRef="alfrescoUsertask1" cancelActivity="false">
<timerEventDefinition>
<timeCycle>R1/P3D</timeCycle>
</timerEventDefinition>
</boundaryEvent>
<serviceTask id="alfrescoScripttask1" name="Notify" activiti:class="org.alfresco.repo.workflow.activiti.script.AlfrescoScriptDelegate">
<extensionElements>
<activiti:field name="script">
<activiti:string>
var mail = actions.create("mail");
mail.parameters.to_many = emailToMany;
mail.parameters.from = "notification@raesystems.com";
mail.parameters.subject = "Task Reminder";
mail.parameters.text = "Dear "+ownerFullNames+", \n\n";
mail.parameters.text += "There is one document waiting for your reviewing, please click the link below to proceed.\n";
mail.parameters.text += "Thank you!\n\n\n";
mail.parameters.text += "Task Link: "+hostUrl+"/share/page/my-tasks\n\n";
mail.parameters.text += "Alfresco Workflow Instance";
mail.execute(companyhome);</activiti:string>
</activiti:field>
</extensionElements>
</serviceTask>
01-31-2014 04:32 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.