02-25-2011 09:04 AM
<node name="publish">
<event type="node-enter">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<runas>admin</runas>
<script>
var i = bpm_package.children.length;
var pathActive = companyhome.childByNamePath("Active");
for (var i = 0; i < bpm_package.children.length; i++){
bpm_package.children[i].move(pathActive);
}
</script>
</action>
</event>
<transition to="end" name="End"></transition>
</node>
I'd be happy to use <runas>creator</runas> but I get a transition error when I put anything other than admin as the runas target. I've tried:03-01-2011 07:47 AM
03-03-2011 04:02 PM
03-07-2011 08:14 AM
03-07-2011 12:17 PM
10-20-2011 02:15 AM
10-21-2011 01:55 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.