03-04-2010 07:24 AM
<node name="sendEmail">
<action class="org.alfresco.repo.workflow.jbpm.ForEachFork">
<foreach>#{people.getGroup('KundenZugriff')}</foreach>
<var>reviewer</var>
</action>
<transition name="send-mail" to="end1">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<script>
<variable name="bpm_package" access="read"/>
<expression>
var mail = actions.create("mail");
mail.parameters.to = reviewer.properties.email;
mail.parameters.subject = "Workflow initiiert";
mail.parameters.text = "Workflow ist gestartet";
mail.execute(bpm_package.children[0]);
</expression>
</script>
</action>
</transition>
</node>
03-04-2010 10:26 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.