All Downloads are FREE. Search and download functionalities are using the official Maven repository.

procDef.gatewayDemo.json Maven / Gradle / Ivy

{
    "procDefCode": "gatewayDemo",
    "procDefName": "网关流程示例",
    "procDefCat": "demo.hq.hr",
    "procDefDiagramWidth": null,
    "procDefDiagramHeight": null,
    "memo": "memo",
    "nodeDefList": [
        {
            "shape": {
                "type": "rectangle",
                "style": "left: 50; top: 0; width: 100; height: 50; border-style: solid; border-width: 1; border-radius: 10; border-color: #000000; background-color: #ffffc8; font-family: Microsoft YaHei; font-weight: normal; font-size: 13px; color: #000000; text-align: center; vertical-align: middle; "
            },
            "nodeType": "TASK",
            "nodeCode": "文书审批",
            "nodeName": "文书审批",
            "assignee": "${ffOmService.selectPosiEmp(INIT_COM_ID_,\"文书\",null,null)}",
            "action": "commonApproveDoc.do?DOC_ID_=${proc.getBizId()}&TASK_ID_=${task.getTaskId()}",
            "completeExpression": "${COMPLETE/TOTAL>=1}",
            "completeReturn": "0",
            "exclusive": "0",
            "autoCompleteSameAssignee": "0",
            "autoCompleteEmptyAssignee": "0",
            "inform": "0",
            "claim": "0",
            "forwardable": "0",
            "priority": "5"
        },
        {
            "shape": {
                "type": "rectangle",
                "style": "left: 50; top: 200; width: 100; height: 50; border-style: solid; border-width: 1; border-radius: 10; border-color: #000000; background-color: #ffffc8; font-family: Microsoft YaHei; font-weight: normal; font-size: 13px; color: #000000; text-align: center; vertical-align: middle; "
            },
            "nodeType": "TASK",
            "nodeCode": "设备部长审批",
            "nodeName": "设备部长审批",
            "assignee": "${ffOmService.selectOrgLeader(ffOmService.selectOrg(INIT_COM_ID_,null,null,\"设备\").get(0).getOrgId(),\"1\")}",
            "action": "commonApproveDoc.do?DOC_ID_=${proc.getBizId()}&TASK_ID_=${task.getTaskId()}",
            "completeExpression": "${COMPLETE/TOTAL>=1}",
            "completeReturn": "0",
            "exclusive": "0",
            "autoCompleteSameAssignee": "0",
            "autoCompleteEmptyAssignee": "0",
            "inform": "0",
            "claim": "0",
            "forwardable": "0",
            "priority": "5"
        },
        {
            "shape": {
                "type": "rectangle",
                "style": "left: 200; top: 200; width: 100; height: 50; border-style: solid; border-width: 1; border-radius: 10; border-color: #000000; background-color: #ffffc8; font-family: Microsoft YaHei; font-weight: normal; font-size: 13px; color: #000000; text-align: center; vertical-align: middle; "
            },
            "nodeType": "TASK",
            "nodeCode": "财务部长审批",
            "nodeName": "财务部长审批",
            "assignee": "${ffOmService.selectOrgLeader(ffOmService.selectOrg(INIT_COM_ID_,null,null,\"财务\").get(0).getOrgId(),\"1\")}",
            "action": "commonApproveDoc.do?DOC_ID_=${proc.getBizId()}&TASK_ID_=${task.getTaskId()}",
            "completeExpression": "${COMPLETE/TOTAL>=1}",
            "completeReturn": "0",
            "exclusive": "0",
            "autoCompleteSameAssignee": "0",
            "autoCompleteEmptyAssignee": "0",
            "inform": "0",
            "claim": "0",
            "forwardable": "0",
            "priority": "5"
        },
        {
            "shape": {
                "type": "rectangle",
                "style": "left: 350; top: 200; width: 100; height: 50; border-style: solid; border-width: 1; border-radius: 10; border-color: #000000; background-color: #ffffc8; font-family: Microsoft YaHei; font-weight: normal; font-size: 13px; color: #000000; text-align: center; vertical-align: middle; "
            },
            "nodeType": "TASK",
            "nodeCode": "副厂长审批",
            "nodeName": "副厂长审批",
            "assignee": "${ffOmService.selectOrgLeader(INIT_COM_ID_,\"2\")}",
            "action": "commonApproveDoc.do?DOC_ID_=${proc.getBizId()}&TASK_ID_=${task.getTaskId()}",
            "completeExpression": "${COMPLETE/TOTAL>=1}",
            "completeReturn": "0",
            "exclusive": "0",
            "autoCompleteSameAssignee": "0",
            "autoCompleteEmptyAssignee": "0",
            "inform": "0",
            "claim": "0",
            "forwardable": "0",
            "priority": "5"
        },
        {
            "shape": {
                "type": "diamond",
                "style": "left: 50; top: 300; width: 100; height: 50; border-style: solid; border-width: 1; border-radius: 10; border-color: #000000; background-color: #ffffc8; font-family: Microsoft YaHei; font-weight: normal; font-size: 13px; color: #000000; text-align: center; vertical-align: middle; "
            },
            "nodeType": "GATEWAY",
            "nodeCode": "汇聚分支",
            "nodeName": "汇聚分支",
            "completeExpression": "${COMPLETE/TOTAL>=1}",
            "completeReturn": "0",
            "exclusive": "0",
            "autoCompleteSameAssignee": "0",
            "autoCompleteEmptyAssignee": "0",
            "inform": "0",
            "claim": "0",
            "forwardable": "0",
            "priority": "5"
        },
        {
            "shape": {
                "type": "rectangle",
                "style": "left: 50; top: 400; width: 100; height: 50; border-style: solid; border-width: 1; border-radius: 10; border-color: #000000; background-color: #ffffc8; font-family: Microsoft YaHei; font-weight: normal; font-size: 13px; color: #000000; text-align: center; vertical-align: middle; "
            },
            "nodeType": "TASK",
            "nodeCode": "厂长审批",
            "nodeName": "厂长审批",
            "assignee": "${ffOmService.selectOrgLeader(INIT_COM_ID_,\"1\")}",
            "action": "commonApproveDoc.do?DOC_ID_=${proc.getBizId()}&TASK_ID_=${task.getTaskId()}",
            "completeExpression": "${COMPLETE/TOTAL>=1}",
            "completeReturn": "0",
            "exclusive": "0",
            "autoCompleteSameAssignee": "0",
            "autoCompleteEmptyAssignee": "0",
            "inform": "0",
            "claim": "0",
            "forwardable": "0",
            "priority": "5"
        },
        {
            "shape": {
                "type": "diamond",
                "style": "left: 50; top: 100; width: 100; height: 50; border-style: solid; border-width: 1; border-radius: 10; border-color: #000000; background-color: #ffffc8; font-family: Microsoft YaHei; font-weight: normal; font-size: 13px; color: #000000; text-align: center; vertical-align: middle; "
            },
            "nodeType": "GATEWAY",
            "nodeCode": "分支",
            "nodeName": "分支",
            "completeExpression": "${COMPLETE/TOTAL>=1}",
            "completeReturn": "0",
            "exclusive": "0",
            "autoCompleteSameAssignee": "0",
            "autoCompleteEmptyAssignee": "0",
            "inform": "0",
            "claim": "0",
            "forwardable": "0",
            "priority": "5"
        },
        {
            "shape": {
                "type": "rectangle",
                "style": "left: 200; top: 400; width: 100; height: 50; border-style: solid; border-width: 1; border-radius: 10; border-color: #000000; background-color: #ffffc8; font-family: Microsoft YaHei; font-weight: normal; font-size: 13px; color: #000000; text-align: center; vertical-align: middle; "
            },
            "nodeType": "TASK",
            "nodeCode": "集团领导审批",
            "nodeName": "集团领导审批",
            "action": "commonApproveDoc.do?DOC_ID_=${proc.getBizId()}&TASK_ID_=${task.getTaskId()}",
            "completeExpression": "${COMPLETE/TOTAL>=1}",
            "completeReturn": "0",
            "exclusive": "0",
            "autoCompleteSameAssignee": "0",
            "autoCompleteEmptyAssignee": "0",
            "inform": "0",
            "assignee": "${ffOmService.selectPosiEmp(null,null,\"CEO\",null)}",
            "claim": "0",
            "forwardable": "0",
            "priority": "5"
        }
    ],
    "flowDefList": [
        {
            "shape": {
                "type": "line",
                "linePath": "SN"
            },
            "flowCode": "flow04",
            "sourceNodeCode": "设备部长审批",
            "targetNodeCode": "汇聚分支",
            "conditionExpression": "true"
        },
        {
            "shape": {
                "type": "line",
                "linePath": "SN"
            },
            "flowCode": "flow05",
            "sourceNodeCode": "财务部长审批",
            "targetNodeCode": "汇聚分支",
            "conditionExpression": "true"
        },
        {
            "shape": {
                "type": "line",
                "linePath": "SN"
            },
            "flowCode": "flow06",
            "sourceNodeCode": "副厂长审批",
            "targetNodeCode": "汇聚分支",
            "conditionExpression": "true"
        },
        {
            "shape": {
                "type": "line",
                "linePath": "SN"
            },
            "flowCode": "flow07",
            "sourceNodeCode": "汇聚分支",
            "targetNodeCode": "厂长审批",
            "conditionExpression": "true"
        },
        {
            "shape": {
                "type": "line",
                "linePath": "SN",
                "style": "left: 0; top: 0; width: 100; height: 50; border-style: solid; border-width: 1; border-radius: 10; border-color: #000000; background-color: #ffffc8; font-family: Microsoft YaHei; font-weight: normal; font-size: 13px; color: #000000; text-align: center; vertical-align: middle; "
            },
            "sourceNodeCode": "文书审批",
            "targetNodeCode": "分支"
        },
        {
            "shape": {
                "type": "line",
                "linePath": "SN",
                "style": "left: 0; top: 0; width: 100; height: 50; border-style: solid; border-width: 1; border-radius: 10; border-color: #000000; background-color: #ffffc8; font-family: Microsoft YaHei; font-weight: normal; font-size: 13px; color: #000000; text-align: center; vertical-align: middle; "
            },
            "sourceNodeCode": "分支",
            "targetNodeCode": "设备部长审批"
        },
        {
            "shape": {
                "type": "line",
                "linePath": "SN",
                "style": "left: 0; top: 0; width: 100; height: 50; border-style: solid; border-width: 1; border-radius: 10; border-color: #000000; background-color: #ffffc8; font-family: Microsoft YaHei; font-weight: normal; font-size: 13px; color: #000000; text-align: center; vertical-align: middle; ",
                "stub": 25,
                "textLineIndex": 2,
                "textWidth": 100,
                "textHeight": 20
            },
            "sourceNodeCode": "分支",
            "targetNodeCode": "财务部长审批"
        },
        {
            "shape": {
                "type": "line",
                "linePath": "SN",
                "style": "left: 0; top: 0; width: 100; height: 50; border-style: solid; border-width: 1; border-radius: 10; border-color: #000000; background-color: #ffffc8; font-family: Microsoft YaHei; font-weight: normal; font-size: 13px; color: #000000; text-align: center; vertical-align: middle; ",
                "stub": 25,
                "textWidth": 100,
                "textHeight": 20,
                "textLineIndex": 2
            },
            "sourceNodeCode": "分支",
            "targetNodeCode": "副厂长审批"
        },
        {
            "shape": {
                "type": "line",
                "linePath": "SN",
                "style": "left: 0; top: 0; width: 100; height: 50; border-style: solid; border-width: 1; border-radius: 10; border-color: #000000; background-color: #ffffc8; font-family: Microsoft YaHei; font-weight: normal; font-size: 13px; color: #000000; text-align: center; vertical-align: middle; ",
                "stub": 25,
                "textLineIndex": 2,
                "textWidth": 100,
                "textHeight": 20
            },
            "sourceNodeCode": "汇聚分支",
            "targetNodeCode": "集团领导审批"
        }
    ]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy