AnsweredAssumed Answered

Moving document without creating tasks

Question asked by e-no91 on May 14, 2014
Latest reply on Mar 23, 2015 by douglascrp
I'm thinking about making an advanced workflow that directly moves a file from folder to folder without initiating any task.
I've tried deleting everything I think is related to task until my processdefinition.xml is left as such:

<?xml version="1.0" encoding="UTF-8"?>

<process-definition xmlns="" name="wfl:lifecycleapproval">

            <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 –>
                    var dest = companyhome.childByNamePath(bpm_moveDestination);
for (var i = 0 ; i &lt; bpm_package.children.length; i++)

But when I call this workflow through js, it still runs as a task.

My question is, is it actually possible to use a workflow to do file movement without starting a task?

Thanks in advance!