09-23-2008 09:48 AM
09-23-2008 03:27 PM
<property name="mywf:Name">
<title>Name</title>
<type>d:text</type>
</property>
in the model. Then in the processdefinition, I can do this in the "myWorkflow" task: <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<script>
var mail = actions.create("mail");
mail.parameters.to = bpm_assignee.properties["cm:email"];
mail.parameters.subject = "Hey Buddy";
mail.parameters.from = initiator.properties["cm:email"];
mail.parameters.text = "Dear " + mywf_Name + ", \n\n" + initiator.properties.firstName + " " + initiator.properties.lastName + " Says hello!";
mail.execute(bpm_package);
</script>
</action>
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.