03-03-2010 09:12 AM
<start-state name="start">
<task name="scwf:submitHelloAndyTask" />
<transition name="" to="hello"></transition>
</start-state>
<node name="hello">
<transition name="" to="end1">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<script>
<expression>
var timestamp = new Date().getTime();
var mail = actions.create("mail");
mail.parameters.to = "mail@domain.com";
mail.parameters.subject = "Approval Request ";
mail.parameters.text = "Hi,this is the timestamp "+timestamp;
mail.execute(bpm_package.children[0]);
</expression>
</script>
</action>
</transition>
</node>
Caused by: org.alfresco.error.AlfrescoRuntimeException: 02030000 ReferenceError: "bpm_package" is not defined. (AlfrescoJS#1)
03-04-2010 03:47 AM
<variable name="bpm_package" access="read"/>
vor deinem expressen element.03-04-2010 05:31 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.