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

procDef.completeReturnDemo.json Maven / Gradle / Ivy

{
    "procDefCode": "completeReturnDemo",
    "procDefName": "完成返回示例",
    "procDefCat": "demo.hq.hr",
    "procDefDiagramWidth": null,
    "procDefDiagramHeight": null,
    "memo": "memo",
    "nodeDefList": [
        {
            "shape": {
                "type": "rectangle",
                "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": "TASK",
            "nodeCode": "厂长审批",
            "nodeName": "厂长审批",
            "candidateAssignee": "${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": "rectangle",
                "style": "left: 150; 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()}",
            "completeReturn": "1",
            "completeExpression": "${COMPLETE/TOTAL>=1}",
            "exclusive": "0",
            "autoCompleteSameAssignee": "0",
            "autoCompleteEmptyAssignee": "0",
            "inform": "0",
            "claim": "0",
            "forwardable": "0",
            "priority": "5"
        },
        {
            "shape": {
                "type": "rectangle",
                "style": "left: 150; top: 275; width: 300; height: 100; 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: top; "
            },
            "nodeType": "STAGE",
            "nodeCode": "设备部审批",
            "nodeName": "设备部审批",
            "completeReturn": "1",
            "completeExpression": "${COMPLETE/TOTAL>=1}",
            "exclusive": "0",
            "autoCompleteSameAssignee": "0",
            "autoCompleteEmptyAssignee": "0",
            "inform": "0",
            "claim": "0",
            "forwardable": "0",
            "priority": "5"
        },
        {
            "shape": {
                "type": "rectangle",
                "style": "left: 175; 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": "TASK",
            "nodeCode": "副部长审批",
            "nodeName": "副部长审批",
            "parentNodeCode": "设备部审批",
            "assignee": "${ffOmService.selectOrgLeader(ffOmService.selectOrg(INIT_COM_ID_,null,null,\"设备\").get(0).getOrgId(),\"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": "rectangle",
                "style": "left: 325; 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": "TASK",
            "nodeCode": "部长审批",
            "nodeName": "部长审批",
            "parentNodeCode": "设备部审批",
            "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: 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.selectPosiEmp(null,null,\"CEO\",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"
        }
    ],
    "flowDefList": [
        {
            "shape": {
                "type": "line",
                "linePath": "EW"
            },
            "flowCode": "flow03",
            "sourceNodeCode": "副部长审批",
            "targetNodeCode": "部长审批",
            "conditionExpression": "true"
        },
        {
            "shape": {
                "type": "line",
                "linePath": "SW",
                "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
            },
            "sourceNodeCode": "厂长审批",
            "targetNodeCode": "财务部长审批",
            "conditionExpression": "STEP=1"
        },
        {
            "shape": {
                "type": "line",
                "linePath": "SW",
                "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
            },
            "sourceNodeCode": "厂长审批",
            "targetNodeCode": "设备部审批",
            "conditionExpression": "STEP=2"
        },
        {
            "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
            },
            "sourceNodeCode": "厂长审批",
            "targetNodeCode": "集团领导审批",
            "conditionExpression": "STEP=3"
        }
    ]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy