04-15-2014 12:13 AM
04-15-2014 03:09 AM
<definitions id="definitions"
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
xmlns:activiti="http://activiti.org/bpmn"
xmlns:modeler="http://activiti.com/modeler"
modeler:version="2.0"
targetNamespace="Examples">
<process id="setScriptResultToProcessVariable">
<startEvent id="theStart" />
<scriptTask id="theScriptTaskWithExistingProcessVariableName" scriptFormat="juel" activiti:resultVariable="existingProcessVariableName">
<script>#{echo}</script>
</scriptTask>
<scriptTask id="theScriptTaskWithNewProcessVariableName" scriptFormat="juel" activiti:resultVariable="newProcessVariableName">
<script>#{execution.id}</script>
</scriptTask>
<scriptTask id="theScriptTaskWithNoResultVariable" scriptFormat="juel">
<script>#{echo}</script>
</scriptTask>
<userTask id="theTask" name="keep-alive task" />
<endEvent id="theEnd" />
<sequenceFlow id="flow1" sourceRef="theStart" targetRef="theScriptTaskWithExistingProcessVariableName" />
<sequenceFlow id="flow2" sourceRef="theScriptTaskWithExistingProcessVariableName" targetRef="theScriptTaskWithNewProcessVariableName" />
<sequenceFlow id="flow3" sourceRef="theScriptTaskWithNewProcessVariableName" targetRef="theScriptTaskWithNoResultVariable" />
<sequenceFlow id="flow6" sourceRef="theScriptTaskWithNoResultVariable" targetRef="theTask" />
<sequenceFlow id="flow7" sourceRef="theTask" targetRef="theEnd" />
</process>
</definitions>
04-15-2014 03:43 AM
04-16-2014 02:03 AM
<scriptTask id="scripttask1" name="Terminated" scriptFormat="juel" activiti:resultVariable="status">
<script>TERMINATED</script>
</scriptTask>
04-17-2014 02:39 AM
04-22-2014 06:04 AM
I put questions and then I need to wait for several hours to get a reply. and then I am not getting the right ansPeople on the forum try really hard to answer all question, show some respect please. We're an open-source product and you're paying nothing, don't expect 24/7 instant response. Try reading the user guide first…
04-22-2014 06:21 AM
04-22-2014 06:58 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.