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

procDef.demo.json Maven / Gradle / Ivy

{
    "procDefCode": "demo",
    "procDefName": "简单流程示例",
    "procDefCat": "demo.hq.hr",
    "memo": "memo",
    "nodeDefList": [
        {
            "shape": {
                "type": "rectangle",
                "style": "left: 50; top: 100; width: 100; height: 50;"
            },
            "nodeType": "TASK",
            "nodeCode": "departmentLeader",
            "nodeName": "部门领导审批",
            "assignee": "departmentLeader",
            "action": "commonApproveContract.do?CONTRACT_ID_=${proc.getBizId()}&TASK_ID_=${task.getTaskId()}"
        },
        {
            "shape": {
                "type": "rectangle",
                "style": "left: 50; top: 200; width: 100; height: 50;"
            },
            "nodeType": "TASK",
            "nodeCode": "hrLeader",
            "nodeName": "人力资源审批",
            "candidateAssignee": "hrLeader,DevLeader",
            "action": "commonApproveContract.do?CONTRACT_ID_=${proc.getBizId()}&TASK_ID_=${task.getTaskId()}"
        },
        {
            "shape": {
                "type": "rectangle",
                "style": "left: 50; top: 300; width: 100; height: 50;"
            },
            "nodeType": "TASK",
            "nodeCode": "companyLeader",
            "nodeName": "公司领导审批",
            "candidateAssignee": "${initPosiEmpId}",
            "action": "handle${proc.getBizType()}.do?BIZ_ID_=${proc.getBizId()}&TASK_ID_=${task.getTaskId()}"
        }
    ],
    "flowDefList": [
        {
            "shape": {
                "type": "line",
                "linePath": "SN"
            },
            "flowCode": "flow01",
            "sourceNodeCode": "departmentLeader",
            "targetNodeCode": "hrLeader",
            "conditionExpression": "true"
        },
        {
            "shape": {
                "type": "line",
                "linePath": "SN"
            },
            "flowCode": "flow02",
            "sourceNodeCode": "hrLeader",
            "targetNodeCode": "companyLeader",
            "conditionExpression": "true"
        }
    ],
    "noteDefList": [
        {
            "shape": {
                "type": "rectangle",
                "style": "left: 0; top: 0; width: 200; height: 50; font-size: 16; border-color: transparent; background-color: transparent"
            },
            "noteCode": "noteCode",
            "noteName": "${subProcDefName}",
            "dynamic": "1"
        }
    ],
    "procVarDefList": [
        {
            "varType": "STRING",
            "varName": "INIT_COM_ID",
            "value": "258"
        },
        {
            "varName": "INIT_COM_NAME",
            "value": "电力厂",
            "varType": "STRING"
        }
    ]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy