AnsweredAssumed Answered

parameters transition within tasks

Question asked by davidedge on Jun 13, 2014
Latest reply on Jun 17, 2014 by davidedge
i'm developing a custom workflow(with activiti). I have a problem:

    <serviceTask id="alfrescoScripttask1" name="fornisce elenco aziende" activiti:class="org.alfresco.repo.workflow.activiti.script.AlfrescoScriptDelegate">
          <activiti:field name="script">
                  var tag = "sigima";
                  var taggedNodes = companyhome.childrenByTags(tag);   
                  var aziende= new Array();
                  for(var i=0; taggedNodes.length; i++){


ChildrenByTags API return an array of ScriptNode and i want to store the name of every node in aziende(array).After this, i want to hand this array to following user-task for printing it.
How can i do? Can i hand an array? Or can i only hand a single variable?