<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)
<variable name="bpm_package" access="read"/>
vor deinem expressen element.Archive content from product discussions in German.
This group is now closed and 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.