08-14-2012 04:22 AM
<aspect name="astItRequest:requestProperties">
<properties>
<property name="astItRequest:date">
<title>Some date</title>
<type>d:date</type>
</property>
………………………
<type name="astItRequestWorkflowModel:submitRequestTask">
<parent>bpm:startTask</parent>
<mandatory-aspects>
<aspect>astItRequest:requestProperties</aspect>
……………………….
<start-state name="start">
<task name="astItRequestWorkflowModel:submitRequestTask" swimlane="initiator" />
<transition name="" to="request">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<runas>admin</runas>
<script>
<
var date = new Date();
executionContext.setVariable("astItRequest_date", date);
logger.log(executionContext.getVariable("astItRequest_date")); // just for output in catalina.out
>
</script>
</action>
</transition>
08-14-2012 04:27 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.