Sorry the short post, but i can really boil down the question to:How can i put information into a taskInstance (from a webscript) that i can use in the next workflow ScriptTask.Like:Webscript:
task = worklfow.getTask(id);
task.properties.wf_reviewComment = "blabla";
task.endTask("next");
Workflow:
activiti:taskListener event="complete" class="org.alfresco.repo.workflow.activiti.tasklistener.ScriptTaskListener">
<activiti:field name="script">
<activiti:string>
<![CDATA[<import resource="classpath:alfresco/extension/templates/webscripts/UBXLib/UBXUtils.js">]]>
logger.error("Workflow: reviewTask, complete");
content = task.getVariableLocal('wf_reviewComment');
addComment(node, title, content);
</activiti:string>
</activiti:field>
</activiti:taskListener>
I really cant list all the ways i tried, I could not get it working.Is this supposed to work anyhow or do i get the concept wrong?Using community edition 4.0bThanks a lot for any helpBest RegardsMatthias Heckmann