<task-node name="verification">
<task name="pac01:verif" swimlane="verificateur">
<event type="task-assign">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<script>
var infoDoc=bpm_package;
var doc=infoDoc.children[0].name;
var mail = actions.create("mail");
mail.parameters.to = pac01_persVerif.properties.email;
mail.parameters.subject = "Document - " + doc + " - à vérifier";
mail.parameters.from = pac01_persRedac.properties.email;
mail.parameters.text = "Ce document est en vérification" + "\r\n\r\n";
mail.execute(bpm_package);
</script>
</action>
</event>
<timer name="sendNotification" duedate="1 minutes" repeat="1 minutes">
<action name="sendNotification" class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<script>
{
var mail = actions.create("mail");
mail.parameters.to = pac01_persVerif.properties.email;
mail.parameters.subject = "Relance document - " + doc + " - à vérifier";
mail.parameters.from = pac01_persRedac.properties.email;
mail.parameters.text = " " + "\r\n\r\n";
mail.execute(bpm_package);
}
</script>
</action>
</timer>
</task>
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.