01-25-2007 01:11 PM
Node createFolder(string name)
and this:Node createNode(string name, string type)
and I noticed that companyhome, userhome and initiatorhome were not working, so I thought to use bpm_context, and even this time I had a null reference! <swimlane name="reception">
<assignment actor-id="admin"/>
</swimlane>
<start-state name="start">
<task name="wf:startGoFlow" swimlane="reception"/>
<transition name="" to="updatePipeline">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<script>
var testFolder = companyhome.childByNamePath("Test Space");
var prjFolder = testFolder.createFolder("Test Folder");
prjFolder = prjFolder.childByNamePath("Test Folder");
prjFolder.createFolder("Documents");
prjFolder.createfolder("Random Folder");
</script>
</action>
</transition>
</start-state>
01-26-2007 05:10 AM
I noticed that companyhome, userhome and initiatorhome were not working
so I thought to use bpm_context, and even this time I had a null reference!
Another thing: can I add dinamically documents to the bpm_package? If yes, how?
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.