规则引擎项目
<?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">
<process processType="Private" isExecutable="true" id="" name="" tns:packageName="" tns:version="">
<extensionElements>
<tns:import name="java.tuils.*"/>
</extensionElements>
<!-- process variables -->
<laneSet>
<lane name="swimName01"></lane>
<lane name="swimName02"></lane>
</laneSet>
<!-- nodes -->
<startEvent id="rect1"/>
<exclusiveGateway id="rect3" name="分支" gatewayDirection="Diverging"/>
<endEvent id="rect2" name=""/>
<businessRuleTask id="rect4" name="数据初始化" g:ruleFlowGroup="">
<ioSpecification>
<inputSet>
</inputSet>
<outputSet>
</outputSet>
</ioSpecification>
</businessRuleTask>
<businessRuleTask id="rect5" name="数据初始化" g:ruleFlowGroup="">
<ioSpecification>
<inputSet>
</inputSet>
<outputSet>
</outputSet>
</ioSpecification>
</businessRuleTask>
<!-- connections -->
<sequenceFlow id="rect3-rect4" sourceRef="rect3" targetRef="rect4" name="name_0" tns:priority="0">
<conditionExpression xsi:type="tFormalExpression" language="http://www.jboss.org/drools/rule" >Map(this["cust_base_info"]["workers_income_avg"]>dddd,this["rating_result"]["score_result"]>6666)</conditionExpression>
</sequenceFlow>
<sequenceFlow id="rect3-rect5" sourceRef="rect3" targetRef="rect5" name="name_1" tns:priority="0">
<conditionExpression xsi:type="tFormalExpression" language="http://www.jboss.org/drools/rule" >Map(this["finance_char"]["CHAR004"]>934,this["cust_base_info"]["workers_income_avg"]>3333)</conditionExpression>
</sequenceFlow>
</process>
<bpmndi:BPMNDiagram>
<bpmndi:BPMNPlane bpmnElement="">
<bpmndi:BPMNShape bpmnElement="rect1">
<dc:Bounds x="130" y="146" width="50" height="50"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="rect3">
<dc:Bounds x="248" y="159" width="50" height="50"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="rect2">
<dc:Bounds x="650" y="146" width="50" height="50"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="rect4">
<dc:Bounds x="484" y="110" width="110" height="48"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="rect5">
<dc:Bounds x="544" y="251" width="110" height="48"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge bpmnElement="rect3-rect4">
<di:waypoint x="273" y="184"/>
<di:waypoint x="539" y="134"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="rect3-rect5">
<di:waypoint x="273" y="184"/>
<di:waypoint x="599" y="275"/>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</definitions>