267 lines
10 KiB
XML
Executable File
267 lines
10 KiB
XML
Executable File
<?xml version="1.0" encoding="UTF-8"?>
|
|
<definitions id="Definition"
|
|
targetNamespace="http://www.jboss.org/drools"
|
|
typeLanguage="http://www.java.com/javaTypes"
|
|
expressionLanguage="http://www.mvel.org/2.0"
|
|
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd"
|
|
xmlns:g="http://www.jboss.org/drools/flow/gpd"
|
|
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
|
|
xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
|
|
xmlns:di="http://www.omg.org/spec/DD/20100524/DI"
|
|
xmlns:tns="http://www.jboss.org/drools">
|
|
|
|
<itemDefinition id="_tasksMetaDataItem" structureRef="java.util.Map" />
|
|
<itemDefinition id="_maiaItem" structureRef="java.util.Map" />
|
|
|
|
<process processType="Private" isExecutable="true" id="credit" name="credit" tns:packageName="flows" >
|
|
|
|
<extensionElements>
|
|
<tns:import name="com.fp.simple.flow.FlowUtil" />
|
|
</extensionElements>
|
|
<!-- process variables -->
|
|
<property id="tasksMetaData" itemSubjectRef="_tasksMetaDataItem"/>
|
|
<property id="maia" itemSubjectRef="_maiaItem"/>
|
|
|
|
<!-- nodes -->
|
|
<startEvent id="_1" name="Start" />
|
|
<callActivity id="_5" name="Validar Personas" calledElement="flow5" >
|
|
<ioSpecification>
|
|
<dataInput id="_5_countInput" name="count" />
|
|
<dataInput id="_5_usuarioInput" name="usuario" />
|
|
<dataInput id="_5_mInput" name="m" />
|
|
<inputSet>
|
|
<dataInputRefs>_5_countInput</dataInputRefs>
|
|
<dataInputRefs>_5_usuarioInput</dataInputRefs>
|
|
<dataInputRefs>_5_mInput</dataInputRefs>
|
|
</inputSet>
|
|
<outputSet>
|
|
</outputSet>
|
|
</ioSpecification>
|
|
<dataInputAssociation>
|
|
<sourceRef>maia.count</sourceRef>
|
|
<targetRef>_5_countInput</targetRef>
|
|
</dataInputAssociation>
|
|
<dataInputAssociation>
|
|
<sourceRef>maia.usuario</sourceRef>
|
|
<targetRef>_5_usuarioInput</targetRef>
|
|
</dataInputAssociation>
|
|
<dataInputAssociation>
|
|
<sourceRef>maia</sourceRef>
|
|
<targetRef>_5_mInput</targetRef>
|
|
</dataInputAssociation>
|
|
</callActivity>
|
|
<callActivity id="_6" name="Monto" calledElement="flow5" >
|
|
<ioSpecification>
|
|
<dataInput id="_6_countInput" name="count" />
|
|
<dataInput id="_6_usuarioInput" name="usuario" />
|
|
<dataInput id="_6_mInput" name="m" />
|
|
<inputSet>
|
|
<dataInputRefs>_6_countInput</dataInputRefs>
|
|
<dataInputRefs>_6_usuarioInput</dataInputRefs>
|
|
<dataInputRefs>_6_mInput</dataInputRefs>
|
|
</inputSet>
|
|
<outputSet>
|
|
</outputSet>
|
|
</ioSpecification>
|
|
<dataInputAssociation>
|
|
<sourceRef>maia.count</sourceRef>
|
|
<targetRef>_6_countInput</targetRef>
|
|
</dataInputAssociation>
|
|
<dataInputAssociation>
|
|
<sourceRef>maia.usuario</sourceRef>
|
|
<targetRef>_6_usuarioInput</targetRef>
|
|
</dataInputAssociation>
|
|
<dataInputAssociation>
|
|
<sourceRef>maia</sourceRef>
|
|
<targetRef>_6_mInput</targetRef>
|
|
</dataInputAssociation>
|
|
</callActivity>
|
|
<callActivity id="_7" name="Plazo" calledElement="flow5" >
|
|
<ioSpecification>
|
|
<inputSet>
|
|
</inputSet>
|
|
<outputSet>
|
|
</outputSet>
|
|
</ioSpecification>
|
|
</callActivity>
|
|
<callActivity id="_8" name="Tasa" calledElement="flow5" >
|
|
<ioSpecification>
|
|
<inputSet>
|
|
</inputSet>
|
|
<outputSet>
|
|
</outputSet>
|
|
</ioSpecification>
|
|
</callActivity>
|
|
<callActivity id="_9" name="Aprobación" calledElement="flow5" >
|
|
<ioSpecification>
|
|
<inputSet>
|
|
</inputSet>
|
|
<outputSet>
|
|
</outputSet>
|
|
</ioSpecification>
|
|
</callActivity>
|
|
<callActivity id="_10" name="Desembolso" calledElement="flow5" >
|
|
<ioSpecification>
|
|
<inputSet>
|
|
</inputSet>
|
|
<outputSet>
|
|
</outputSet>
|
|
</ioSpecification>
|
|
</callActivity>
|
|
<callActivity id="_11" name="Caja" calledElement="flow5" >
|
|
<ioSpecification>
|
|
<inputSet>
|
|
</inputSet>
|
|
<outputSet>
|
|
</outputSet>
|
|
</ioSpecification>
|
|
</callActivity>
|
|
<endEvent id="_12" name="End" >
|
|
<terminateEventDefinition/>
|
|
</endEvent>
|
|
<parallelGateway id="_13" name="Gateway" gatewayDirection="Diverging" />
|
|
<parallelGateway id="_14" name="Gateway" gatewayDirection="Converging" />
|
|
<exclusiveGateway id="_15" name="Gateway" gatewayDirection="Diverging" />
|
|
<scriptTask id="_17" name="Preparar" scriptFormat="http://www.java.com/java" >
|
|
<script>System.out.println("OK");</script>
|
|
</scriptTask>
|
|
<exclusiveGateway id="_16" name="Gateway" gatewayDirection="Converging" />
|
|
|
|
<!-- connections -->
|
|
<sequenceFlow id="_17-_5" sourceRef="_17" targetRef="_5" />
|
|
<sequenceFlow id="_13-_6" sourceRef="_13" targetRef="_6" />
|
|
<sequenceFlow id="_13-_7" sourceRef="_13" targetRef="_7" />
|
|
<sequenceFlow id="_13-_8" sourceRef="_13" targetRef="_8" />
|
|
<sequenceFlow id="_14-_9" sourceRef="_14" targetRef="_9" />
|
|
<sequenceFlow id="_9-_10" sourceRef="_9" targetRef="_10" />
|
|
<sequenceFlow id="_15-_11" sourceRef="_15" targetRef="_11" name="caja" >
|
|
<conditionExpression xsi:type="tFormalExpression" language="http://www.java.com/java" >return maia.get("teller.required")!=null;</conditionExpression>
|
|
</sequenceFlow>
|
|
<sequenceFlow id="_16-_12" sourceRef="_16" targetRef="_12" />
|
|
<sequenceFlow id="_5-_13" sourceRef="_5" targetRef="_13" />
|
|
<sequenceFlow id="_6-_14" sourceRef="_6" targetRef="_14" />
|
|
<sequenceFlow id="_7-_14" sourceRef="_7" targetRef="_14" />
|
|
<sequenceFlow id="_8-_14" sourceRef="_8" targetRef="_14" />
|
|
<sequenceFlow id="_10-_15" sourceRef="_10" targetRef="_15" />
|
|
<sequenceFlow id="_1-_17" sourceRef="_1" targetRef="_17" />
|
|
<sequenceFlow id="_11-_16" sourceRef="_11" targetRef="_16" />
|
|
<sequenceFlow id="_15-_16" sourceRef="_15" targetRef="_16" >
|
|
<conditionExpression xsi:type="tFormalExpression" language="http://www.java.com/java" >return maia.get("teller.required")==null;</conditionExpression>
|
|
</sequenceFlow>
|
|
|
|
</process>
|
|
|
|
<bpmndi:BPMNDiagram>
|
|
<bpmndi:BPMNPlane bpmnElement="credit" >
|
|
<bpmndi:BPMNShape bpmnElement="_1" >
|
|
<dc:Bounds x="16" y="96" width="48" height="48" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape bpmnElement="_5" >
|
|
<dc:Bounds x="208" y="96" width="143" height="48" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape bpmnElement="_6" >
|
|
<dc:Bounds x="464" y="16" width="110" height="48" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape bpmnElement="_7" >
|
|
<dc:Bounds x="464" y="96" width="110" height="48" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape bpmnElement="_8" >
|
|
<dc:Bounds x="464" y="176" width="110" height="48" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape bpmnElement="_9" >
|
|
<dc:Bounds x="687" y="96" width="110" height="48" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape bpmnElement="_10" >
|
|
<dc:Bounds x="829" y="96" width="110" height="48" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape bpmnElement="_11" >
|
|
<dc:Bounds x="1052" y="46" width="110" height="48" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape bpmnElement="_12" >
|
|
<dc:Bounds x="1275" y="96" width="48" height="48" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape bpmnElement="_13" >
|
|
<dc:Bounds x="383" y="96" width="48" height="48" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape bpmnElement="_14" >
|
|
<dc:Bounds x="606" y="96" width="48" height="48" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape bpmnElement="_15" >
|
|
<dc:Bounds x="971" y="96" width="48" height="48" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape bpmnElement="_17" >
|
|
<dc:Bounds x="96" y="96" width="80" height="48" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape bpmnElement="_16" >
|
|
<dc:Bounds x="1194" y="96" width="48" height="48" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNEdge bpmnElement="_17-_5" >
|
|
<di:waypoint x="136" y="120" />
|
|
<di:waypoint x="279" y="120" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge bpmnElement="_13-_6" >
|
|
<di:waypoint x="407" y="120" />
|
|
<di:waypoint x="519" y="40" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge bpmnElement="_13-_7" >
|
|
<di:waypoint x="407" y="120" />
|
|
<di:waypoint x="519" y="120" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge bpmnElement="_13-_8" >
|
|
<di:waypoint x="407" y="120" />
|
|
<di:waypoint x="519" y="200" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge bpmnElement="_14-_9" >
|
|
<di:waypoint x="630" y="120" />
|
|
<di:waypoint x="742" y="120" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge bpmnElement="_9-_10" >
|
|
<di:waypoint x="742" y="120" />
|
|
<di:waypoint x="884" y="120" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge bpmnElement="_15-_11" >
|
|
<di:waypoint x="995" y="120" />
|
|
<di:waypoint x="1107" y="70" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge bpmnElement="_16-_12" >
|
|
<di:waypoint x="1218" y="120" />
|
|
<di:waypoint x="1299" y="120" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge bpmnElement="_5-_13" >
|
|
<di:waypoint x="279" y="120" />
|
|
<di:waypoint x="407" y="120" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge bpmnElement="_6-_14" >
|
|
<di:waypoint x="519" y="40" />
|
|
<di:waypoint x="630" y="120" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge bpmnElement="_7-_14" >
|
|
<di:waypoint x="519" y="120" />
|
|
<di:waypoint x="630" y="120" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge bpmnElement="_8-_14" >
|
|
<di:waypoint x="519" y="200" />
|
|
<di:waypoint x="630" y="120" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge bpmnElement="_10-_15" >
|
|
<di:waypoint x="884" y="120" />
|
|
<di:waypoint x="995" y="120" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge bpmnElement="_1-_17" >
|
|
<di:waypoint x="40" y="120" />
|
|
<di:waypoint x="136" y="120" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge bpmnElement="_11-_16" >
|
|
<di:waypoint x="1107" y="70" />
|
|
<di:waypoint x="1218" y="120" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge bpmnElement="_15-_16" >
|
|
<di:waypoint x="995" y="120" />
|
|
<di:waypoint x="1218" y="120" />
|
|
</bpmndi:BPMNEdge>
|
|
</bpmndi:BPMNPlane>
|
|
</bpmndi:BPMNDiagram>
|
|
|
|
</definitions> |