drools

规则引擎项目


<?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>





  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值