07-07-2008 11:50 PM
07-09-2008 06:33 AM
07-11-2008 12:03 PM
07-13-2008 04:20 PM
mail.parameters.text = "My message body…….";07-15-2008 02:27 AM
<task-node name="serialreview">
<task name="wcmwf:reviewTask">
<assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
<actor>#{bpm_assignees.get(wcmwf_approveCnt)}</actor>
</assignment>
<event type="task-assign">
<script>
if (wcmwf_reviewCycle > 1)
taskInstance.description = taskInstance.description + " (" + wcmwf_reviewCycle + ")";
</script>
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<script>
var mail = actions.create("mail");
mail.parameters.to = "brian.oneill@seedim.com.au";
mail.parameters.subject = "Rejected Task " + bpm_workflowDescription;
mail.parameters.from = bpm_assignee.properties.email;
mail.parameters.text = "It's done";
mail.execute(bpm_package);
</script>
</action>
</event>
</task>
<transition name="approve" to="submitserialreview">
<script>
<variable name="wcmwf_approveCnt" access="read, write"/>
<expression>
wcmwf_approveCnt = wcmwf_approveCnt + 1;
</expression>
</script>
</transition>
<transition name="reject" to="endreview" />
</task-node>
09-18-2008 03:57 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.