AnsweredAssumed Answered

Specify candidate group for my serviceTask

Question asked by vincent_roye on Feb 11, 2014
Latest reply on Feb 11, 2014 by afaust

I am customizing a document review workflow and I would like that this serviceTask :

<serviceTask id="reviewNagEmail" name="Nag Email" activiti:class="org.alfresco.repo.workflow.activiti.script.AlfrescoScriptDelegate" activiti:async="true" activiti:exclusive="false">
        <activiti:field name="script">
                var mail = actions.create("mail");
      = "";
               mail.parameters.subject = "reminder";
               mail.parameters.from = "";
               mail.parameters.text = "It's the day";

sends a mail only to people who haven't reviewed the document yet. What's the best way to make it ?

Thank you very much,

Best Regards,