04-05-2007 08:50 AM
<process-definition xmlns="urn:jbpm.org:jpdl-3.1" name="wfl:lifecycleapproval">
<swimlane name="initiator" />
<start-state name="start">
<task name="wf:submitReviewTask" swimlane="initiator" />
<event type="node-leave">
<!– Call script once the workflow package exists i.e. on node-leave –>
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<!– Apply the Workflow Lifecycle Aspect (wfl:status) if not set already. Note: The default wfl:status property is draft –>
<script>
for (var i = 0; i < bpm_package.children.length; i++)
{
if (!bpm_package.children[i].hasAspect("wfl:status"))
{
bpm_package.children[i].addAspect("wfl:status");
bpm_package.children[i].checkout(bpm_context);
}
}
I get a org.alfresco.service.cmr.lock.NodeLockedException04-05-2007 12:49 PM
04-06-2007 02:02 AM
04-11-2007 10:32 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.