11-25-2014 08:13 AM
<process id="paralel" name="My process" isExecutable="true">
<startEvent id="startevent1" name="Start"></startEvent>
<endEvent id="endevent1" name="End"></endEvent>
<callActivity id="callactivity1" name="Call activity" calledElement="fork">
<extensionElements>
<activiti:in source="task" target="task"></activiti:in>
</extensionElements>
<multiInstanceLoopCharacteristics isSequential="false" activiti:collection="tasksList" activiti:elementVariable="task"></multiInstanceLoopCharacteristics>
</callActivity>
<sequenceFlow id="flow1" sourceRef="startevent1" targetRef="callactivity1"></sequenceFlow>
<sequenceFlow id="flow2" sourceRef="callactivity1" targetRef="endevent1"></sequenceFlow>
</process>
<process id="fork" name="My process" isExecutable="true">
<startEvent id="startevent1" name="Start"></startEvent>
<endEvent id="endevent1" name="End"></endEvent>
<serviceTask id="sys1" name="Service Task" activiti:class="my.nodes.Rest"></serviceTask>
<serviceTask id="sys2" name="Service Task" activiti:class="my.nodes.Rest"></serviceTask>
<exclusiveGateway id="exclusivegateway1" name="Exclusive Gateway"></exclusiveGateway>
<sequenceFlow id="flow1" sourceRef="startevent1" targetRef="exclusivegateway1"></sequenceFlow>
<sequenceFlow id="flow2" sourceRef="exclusivegateway1" targetRef="sys1">
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${task.externalSystem ==
"sys1"}]]></conditionExpression>
</sequenceFlow>
<sequenceFlow id="flow3" sourceRef="exclusivegateway1" targetRef="sys2">
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${task.externalSystem
== "sys2"}]]></conditionExpression>
</sequenceFlow>
<sequenceFlow id="flow4" sourceRef="sys1" targetRef="endevent1"></sequenceFlow>
<endEvent id="endevent2" name="End"></endEvent>
<sequenceFlow id="flow5" sourceRef="sys2" targetRef="endevent2"></sequenceFlow>
</process>
11-25-2014 09:51 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.