作者:钟剑华 历史版本:1 更新时间:2024-11-20 15:41
流程定义配置
简述:
- 流程定义配置(设置流程图、全局、节点)
请求URL:
- http://ip:port/ibps/business/v3/bpm/definition/setting
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
defId | String | 是 | 流程定义ID | ||
defKey | String | 是 | 流程定义标识 | ||
parentDefId | String | 是 | 父流程定义ID | ||
parentNodeId | String | 是 | 父流程节点ID |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/business/v3/bpm/definition/setting?defId=626866373389189120
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"defId": "680370541093191680",
"subProcess": "subProcess",
"bpmDefLayout": {
"defId": "680370541093191680",
"name": "开发单表",
"width": 678.0,
"height": 348.0,
"listLayout": [{
"nodeId": "StartEvent_08yghcp",
"name": "开始",
"nodeType": {
"key": "start",
"value": "开始节点"
},
"parentNodeId": "",
"x": 5.0,
"y": 27.0,
"width": 36.0,
"height": 36.0
}, {
"nodeId": "Activity_1t5r0yu",
"name": "1",
"nodeType": {
"key": "userTask",
"value": "用户任务节点"
},
"parentNodeId": "",
"x": 95.0,
"y": 5.0,
"width": 100.0,
"height": 80.0
}, {
"nodeId": "Activity_0zj8vy5",
"name": "2",
"nodeType": {
"key": "userTask",
"value": "用户任务节点"
},
"parentNodeId": "",
"x": 255.0,
"y": 5.0,
"width": 100.0,
"height": 80.0
}, {
"nodeId": "Event_0rbv1gy",
"name": "",
"nodeType": {
"key": "end",
"value": "结束节点"
},
"parentNodeId": "",
"x": 417.0,
"y": 27.0,
"width": 36.0,
"height": 36.0
}]
},
"data": "{\"global\":{\"id\":\"Process_0f8oaab\",\"bo\":{\"saveMode\":\"table\",\"code\":\"kfdb\",\"name\":\"开发单表\",\"version\":1},\"form\":{\"type\":\"inner\",\"version\":0,\"mobileVersion\":null,\"formValue\":\"kfdb\",\"mobileValue\":\"\",\"name\":\"\",\"mobileName\":\"\",\"editUrl\":\"\",\"editFormRights\":null,\"mobileUrl\":\"\",\"templateId\":\"\",\"templateName\":\"\",\"prevHandler\":null,\"postHandler\":null},\"instForm\":{\"type\":\"inner\",\"version\":null,\"mobileVersion\":null,\"formValue\":\"kfdb\",\"mobileValue\":\"\",\"name\":\"\",\"mobileName\":\"\",\"editUrl\":\"\",\"editFormRights\":null,\"mobileUrl\":\"\",\"templateId\":\"\",\"templateName\":\"\"},\"formOpinions\":{},\"attributes\":{\"subjectRule\":\"{发起人:startorName}在{发起时间:startTime}发起{流程标题:title}\",\"archiveNotifyType\":\"inner\",\"allowTransTo\":false,\"prevHandler\":\"\",\"allowExecutorEmpty\":false,\"description\":\"\",\"firstNodeUserAssign\":false,\"startNotifyType\":\"inner\",\"notifyType\":\"inner\",\"skipExecutorEmpty\":false,\"testNotifyType\":\"inner\",\"allowCopyTo\":false,\"testStatus\":\"test\",\"skipSameUser\":true,\"allowRefCounts\":5,\"postHandler\":\"\",\"skipFirstNode\":true,\"allowReference\":false,\"status\":\"deploy\"},\"variables\":[],\"procNotify\":[]},\"nodes\":[{\"node_name\":\"2\",\"node_type\":\"userTask\",\"id\":\"Activity_0zj8vy5\",\"parentId\":null,\"users\":[],\"form\":{\"type\":\"\",\"version\":\"\",\"mobileVersion\":\"\",\"formValue\":\"\",\"mobileValue\":\"\",\"name\":\"\",\"mobileName\":\"\",\"editUrl\":\"\",\"editFormRights\":\"\",\"mobileUrl\":\"\",\"templateId\":\"\",\"templateName\":\"\"},\"scripts\":{\"complete\":\"\",\"create\":\"\"},\"buttons\":[{\"aliasName\":\"锁定\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"锁定\",\"alias\":\"lock\",\"beforeScript\":\"\"},{\"aliasName\":\"解锁\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"解锁\",\"alias\":\"unlock\",\"beforeScript\":\"\"},{\"aliasName\":\"强制解锁\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"强制解锁\",\"alias\":\"forceUnlock\",\"beforeScript\":\"\"},{\"aliasName\":\"同意\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"同意\",\"alias\":\"agree\",\"beforeScript\":\"\"},{\"aliasName\":\"反对\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"反对\",\"alias\":\"oppose\",\"beforeScript\":\"\"},{\"aliasName\":\"驳回\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"驳回\",\"alias\":\"reject\",\"beforeScript\":\"\"},{\"aliasName\":\"驳回发起人\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"驳回发起人\",\"alias\":\"rejectToStart\",\"beforeScript\":\"\"},{\"aliasName\":\"驳回上一步\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"驳回上一步\",\"alias\":\"rejectToPrevious\",\"beforeScript\":\"\"},{\"aliasName\":\"转办\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"转办\",\"alias\":\"delegate\",\"beforeScript\":\"\"},{\"aliasName\":\"审批历史\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"审批历史\",\"alias\":\"approvalHistory\",\"beforeScript\":\"\"},{\"aliasName\":\"流程图\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"流程图\",\"alias\":\"flowImage\",\"beforeScript\":\"\"},{\"aliasName\":\"打印\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"打印\",\"alias\":\"print\",\"beforeScript\":\"\"},{\"aliasName\":\"终止流程\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"终止流程\",\"alias\":\"endProcess\",\"beforeScript\":\"\"},{\"aliasName\":\"挂起\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"挂起\",\"alias\":\"suspendProcess\",\"beforeScript\":\"\"},{\"aliasName\":\"恢复\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"恢复\",\"alias\":\"recoverProcess\",\"beforeScript\":\"\"}],\"jumpRules\":[],\"reminders\":[],\"trigerFlows\":[],\"procNotify\":[],\"withOutGateway\":false,\"attributes\":{\"hideOpinion\":false,\"jumpType\":\"common\",\"rejectSection\":\"\",\"hidePath\":true,\"prevHandler\":\"\",\"allowExecutorEmpty\":false,\"notifyType\":\"inner\",\"parentDefKey\":\"local_\",\"skipExecutorEmpty\":false,\"rejectType\":\"all\",\"postHandler\":\"\",\"buttonInitialized\":true,\"nodeId\":\"Activity_0zj8vy5\"}},{\"node_name\":\"1\",\"node_type\":\"userTask\",\"id\":\"Activity_1t5r0yu\",\"parentId\":null,\"users\":[],\"form\":{\"type\":\"\",\"version\":\"\",\"mobileVersion\":\"\",\"formValue\":\"\",\"mobileValue\":\"\",\"name\":\"\",\"mobileName\":\"\",\"editUrl\":\"\",\"editFormRights\":\"\",\"mobileUrl\":\"\",\"templateId\":\"\",\"templateName\":\"\"},\"scripts\":{\"complete\":\"\",\"create\":\"\"},\"buttons\":[{\"aliasName\":\"锁定\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"锁定\",\"alias\":\"lock\",\"beforeScript\":\"\"},{\"aliasName\":\"解锁\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"解锁\",\"alias\":\"unlock\",\"beforeScript\":\"\"},{\"aliasName\":\"强制解锁\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"强制解锁\",\"alias\":\"forceUnlock\",\"beforeScript\":\"\"},{\"aliasName\":\"同意\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"同意\",\"alias\":\"agree\",\"beforeScript\":\"\"},{\"aliasName\":\"反对\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"反对\",\"alias\":\"oppose\",\"beforeScript\":\"\"},{\"aliasName\":\"驳回\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"驳回\",\"alias\":\"reject\",\"beforeScript\":\"\"},{\"aliasName\":\"驳回发起人\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"驳回发起人\",\"alias\":\"rejectToStart\",\"beforeScript\":\"\"},{\"aliasName\":\"驳回上一步\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"驳回上一步\",\"alias\":\"rejectToPrevious\",\"beforeScript\":\"\"},{\"aliasName\":\"转办\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"转办\",\"alias\":\"delegate\",\"beforeScript\":\"\"},{\"aliasName\":\"审批历史\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"审批历史\",\"alias\":\"approvalHistory\",\"beforeScript\":\"\"},{\"aliasName\":\"流程图\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"流程图\",\"alias\":\"flowImage\",\"beforeScript\":\"\"},{\"aliasName\":\"打印\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"打印\",\"alias\":\"print\",\"beforeScript\":\"\"},{\"aliasName\":\"终止流程\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"终止流程\",\"alias\":\"endProcess\",\"beforeScript\":\"\"},{\"aliasName\":\"挂起\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"挂起\",\"alias\":\"suspendProcess\",\"beforeScript\":\"\"},{\"aliasName\":\"恢复\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"恢复\",\"alias\":\"recoverProcess\",\"beforeScript\":\"\"}],\"jumpRules\":[],\"reminders\":[],\"trigerFlows\":[],\"procNotify\":[],\"withOutGateway\":false,\"attributes\":{\"hideOpinion\":false,\"jumpType\":\"common\",\"rejectSection\":\"\",\"hidePath\":true,\"prevHandler\":\"\",\"allowExecutorEmpty\":false,\"notifyType\":\"inner\",\"parentDefKey\":\"local_\",\"skipExecutorEmpty\":false,\"rejectType\":\"all\",\"postHandler\":\"\",\"buttonInitialized\":true,\"nodeId\":\"Activity_1t5r0yu\"}},{\"node_name\":\"\",\"node_type\":\"end\",\"id\":\"Event_0rbv1gy\",\"parentId\":null,\"scripts\":{\"end\":\"\"}},{\"node_name\":\"开始\",\"node_type\":\"start\",\"id\":\"StartEvent_08yghcp\",\"parentId\":null,\"scripts\":{\"start\":\"\"},\"buttons\":[{\"aliasName\":\"启动\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"启动\",\"alias\":\"startFlow\",\"beforeScript\":\"\"},{\"aliasName\":\"保存草稿\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"保存草稿\",\"alias\":\"saveDraft\",\"beforeScript\":\"\"},{\"aliasName\":\"流程图\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"流程图\",\"alias\":\"flowImage\",\"beforeScript\":\"\"},{\"aliasName\":\"打印\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"打印\",\"alias\":\"print\",\"beforeScript\":\"\"}],\"attributes\":{\"hideOpinion\":false,\"jumpType\":\"common\",\"rejectSection\":\"\",\"hidePath\":true,\"prevHandler\":\"\",\"allowExecutorEmpty\":false,\"notifyType\":\"\",\"parentDefKey\":\"local_\",\"skipExecutorEmpty\":false,\"rejectType\":\"all\",\"postHandler\":\"\",\"buttonInitialized\":true,\"nodeId\":\"StartEvent_08yghcp\"}}]}",
"messageTypes": "[{\"type\":\"inner\",\"title\":\"内部消息\"},{\"type\":\"sms\",\"title\":\"短信\"},{\"type\":\"mail\",\"title\":\"邮件\"},{\"type\":\"wechat\",\"title\":\"微信消息\"}]",
"bpmDefinition": {
"pk": "",
"name": "开发单表",
"ip": null,
"createBy": "654622686055497728",
"createTime": "2020-02-21 11:09:38",
"updateBy": "654622686055497728",
"updateTime": "2020-02-21 11:25:26",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"defId": "680370541093191680",
"parentDefId": null,
"parentNodeId": null,
"srcDefId": null,
"defKey": "Process_0f8oaab",
"desc": "",
"typeId": null,
"status": "deploy",
"testStatus": "test",
"bpmnDefId": "Process_0f8oaab:1:680370541651034112",
"bpmnDeployId": "680370541353238528",
"version": 1,
"boCode": "kfdb",
"boVersion": 1,
"mainDefId": "680370541093191680",
"isMain": "Y",
"reason": null,
"bpmDefineXmlPo": {
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "680370541093191680",
"defXml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" 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\" id=\"Definitions_1dczmkp\" targetNamespace=\"http://bpmn.io/schema/bpmn\" xsi:schemaLocation=\"http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd\"><process id=\"Process_0f8oaab\" name=\"开发单表\" isExecutable=\"false\"><startEvent id=\"StartEvent_08yghcp\" name=\"开始\"><outgoing>Flow_1xlnzqu</outgoing></startEvent><userTask id=\"Activity_1t5r0yu\" name=\"1\"><incoming>Flow_1xlnzqu</incoming><outgoing>Flow_0xbun51</outgoing></userTask><sequenceFlow id=\"Flow_1xlnzqu\" sourceRef=\"StartEvent_08yghcp\" targetRef=\"Activity_1t5r0yu\" /><userTask id=\"Activity_0zj8vy5\" name=\"2\"><incoming>Flow_0xbun51</incoming><outgoing>Flow_0flgetw</outgoing></userTask><sequenceFlow id=\"Flow_0xbun51\" sourceRef=\"Activity_1t5r0yu\" targetRef=\"Activity_0zj8vy5\" /><endEvent id=\"Event_0rbv1gy\"><incoming>Flow_0flgetw</incoming></endEvent><sequenceFlow id=\"Flow_0flgetw\" sourceRef=\"Activity_0zj8vy5\" targetRef=\"Event_0rbv1gy\" /></process><bpmndi:BPMNDiagram id=\"BPMNDiagram_0t2feco\"><bpmndi:BPMNPlane id=\"BPMNPlane_0cs5mgs\" bpmnElement=\"Process_0f8oaab\"><bpmndi:BPMNShape id=\"_BPMNShape_StartEvent_08yghcp\" bpmnElement=\"StartEvent_08yghcp\"><dc:Bounds x=\"180\" y=\"240\" width=\"36\" height=\"36\" /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Activity_1t5r0yu_di\" bpmnElement=\"Activity_1t5r0yu\"><dc:Bounds x=\"270\" y=\"218\" width=\"100\" height=\"80\" /></bpmndi:BPMNShape><bpmndi:BPMNEdge id=\"Flow_1xlnzqu_di\" bpmnElement=\"Flow_1xlnzqu\"><di:waypoint x=\"216\" y=\"258\" /><di:waypoint x=\"270\" y=\"258\" /></bpmndi:BPMNEdge><bpmndi:BPMNShape id=\"Activity_0zj8vy5_di\" bpmnElement=\"Activity_0zj8vy5\"><dc:Bounds x=\"430\" y=\"218\" width=\"100\" height=\"80\" /></bpmndi:BPMNShape><bpmndi:BPMNEdge id=\"Flow_0xbun51_di\" bpmnElement=\"Flow_0xbun51\"><di:waypoint x=\"370\" y=\"258\" /><di:waypoint x=\"430\" y=\"258\" /></bpmndi:BPMNEdge><bpmndi:BPMNShape id=\"Event_0rbv1gy_di\" bpmnElement=\"Event_0rbv1gy\"><dc:Bounds x=\"592\" y=\"240\" width=\"36\" height=\"36\" /></bpmndi:BPMNShape><bpmndi:BPMNEdge id=\"Flow_0flgetw_di\" bpmnElement=\"Flow_0flgetw\"><di:waypoint x=\"530\" y=\"258\" /><di:waypoint x=\"592\" y=\"258\" /></bpmndi:BPMNEdge></bpmndi:BPMNPlane></bpmndi:BPMNDiagram></definitions>",
"bpmnXml": "<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:fg=\"bpm.graphic\" xmlns:bg=\"bpm.graphic\" xmlns:fn=\"http://www.w3.org/2005/02/xpath-functions\" xmlns:bpm=\"http://www.bpmhome.cn/bpm\" xmlns:ibps=\"http://www.bpmhome.cn/BPMN20EXT\" xmlns:omgdi=\"http://www.omg.org/spec/DD/20100524/DI\" xmlns:omgdc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:activiti=\"http://activiti.org/bpmn\" targetNamespace=\"http://activiti.org/bpmn20\" xsi:schemaLocation=\"http://www.bpmhome.cn/BPMN20EXT BPMN20EXT.xsd\">\n <process id=\"Process_0f8oaab\" name=\"开发单表\">\n <extensionElements>\n <activiti:executionListener event=\"start\" delegateExpression=\"${procStartListener}\"/>\n <activiti:executionListener event=\"end\" delegateExpression=\"${procEndListener}\"/>\n \n <bpm:boDefine boSaveMode=\"table\" isRequired=\"false\" key=\"kfdb\" name=\"开发单表\" version=\"1\"/><bpm:globalForm editUrl=\"\" formValue=\"kfdb\" key=\"\" mobileName=\"\" mobileUrl=\"\" mobileValue=\"\" mobileVersion=\"0\" name=\"\" parentFlowKey=\"local_\" templateId=\"\" templateName=\"\" type=\"inner\" version=\"0\"/><bpm:instForm editUrl=\"\" formValue=\"kfdb\" key=\"\" mobileName=\"\" mobileUrl=\"\" mobileValue=\"\" mobileVersion=\"0\" name=\"\" parentFlowKey=\"local_\" templateId=\"\" templateName=\"\" type=\"inner\" version=\"0\"/><bpm:attributes><bpm:attribute name=\"subjectRule\" value=\"{发起人:startorName}在{发起时间:startTime}发起{流程标题:title}\"/><bpm:attribute name=\"archiveNotifyType\" value=\"inner\"/><bpm:attribute name=\"allowTransTo\" value=\"false\"/><bpm:attribute name=\"prevHandler\" value=\"\"/><bpm:attribute name=\"allowExecutorEmpty\" value=\"false\"/><bpm:attribute name=\"description\" value=\"\"/><bpm:attribute name=\"firstNodeUserAssign\" value=\"false\"/><bpm:attribute name=\"startNotifyType\" value=\"inner\"/><bpm:attribute name=\"notifyType\" value=\"inner\"/><bpm:attribute name=\"skipExecutorEmpty\" value=\"false\"/><bpm:attribute name=\"testNotifyType\" value=\"inner\"/><bpm:attribute name=\"allowCopyTo\" value=\"false\"/><bpm:attribute name=\"testStatus\" value=\"test\"/><bpm:attribute name=\"skipSameUser\" value=\"true\"/><bpm:attribute name=\"allowRefCounts\" value=\"5\"/><bpm:attribute name=\"postHandler\" value=\"\"/><bpm:attribute name=\"skipFirstNode\" value=\"true\"/><bpm:attribute name=\"allowReference\" value=\"false\"/><bpm:attribute name=\"status\" value=\"deploy\"/></bpm:attributes></extensionElements>\n <startEvent activiti:initiator=\"startUser\" id=\"StartEvent_08yghcp\" name=\"开始\">\n <extensionElements>\n \n <bpm:userScripts/><bpm:buttons><bpm:button alias=\"startFlow\" name=\"启动\"/><bpm:button alias=\"saveDraft\" name=\"保存草稿\"/><bpm:button alias=\"flowImage\" name=\"流程图\"/><bpm:button alias=\"print\" name=\"打印\"/></bpm:buttons><bpm:attributes><bpm:attribute name=\"hideOpinion\" value=\"false\"/><bpm:attribute name=\"jumpType\" value=\"common\"/><bpm:attribute name=\"rejectSection\" value=\"\"/><bpm:attribute name=\"hidePath\" value=\"true\"/><bpm:attribute name=\"prevHandler\" value=\"\"/><bpm:attribute name=\"allowExecutorEmpty\" value=\"false\"/><bpm:attribute name=\"notifyType\" value=\"\"/><bpm:attribute name=\"parentDefKey\" value=\"local_\"/><bpm:attribute name=\"skipExecutorEmpty\" value=\"false\"/><bpm:attribute name=\"rejectType\" value=\"all\"/><bpm:attribute name=\"postHandler\" value=\"\"/><bpm:attribute name=\"buttonInitialized\" value=\"true\"/><bpm:attribute name=\"nodeId\" value=\"StartEvent_08yghcp\"/></bpm:attributes></extensionElements>\n </startEvent>\n <endEvent id=\"Event_0rbv1gy\" name=\"\">\n <extensionElements><bpm:userScripts/></extensionElements>\n </endEvent>\n <sequenceFlow sourceRef=\"StartEvent_08yghcp\" targetRef=\"Activity_1t5r0yu\" id=\"Flow_1xlnzqu\" name=\"\">\n <extensionElements/>\n </sequenceFlow>\n <sequenceFlow sourceRef=\"Activity_1t5r0yu\" targetRef=\"Activity_0zj8vy5\" id=\"Flow_0xbun51\" name=\"\">\n <extensionElements/>\n </sequenceFlow>\n <sequenceFlow sourceRef=\"Activity_0zj8vy5\" targetRef=\"Event_0rbv1gy\" id=\"Flow_0flgetw\" name=\"\">\n <extensionElements/>\n </sequenceFlow>\n <userTask id=\"Activity_1t5r0yu\" name=\"1\">\n <extensionElements>\n <activiti:taskListener event=\"create\" delegateExpression=\"${taskCreateListener}\"/>\n <activiti:taskListener event=\"complete\" delegateExpression=\"${taskCompleteListener}\"/>\n \n <bpm:userScripts/><bpm:buttons><bpm:button alias=\"lock\" name=\"锁定\"/><bpm:button alias=\"unlock\" name=\"解锁\"/><bpm:button alias=\"forceUnlock\" name=\"强制解锁\"/><bpm:button alias=\"agree\" name=\"同意\"/><bpm:button alias=\"oppose\" name=\"反对\"/><bpm:button alias=\"reject\" name=\"驳回\"/><bpm:button alias=\"rejectToStart\" name=\"驳回发起人\"/><bpm:button alias=\"rejectToPrevious\" name=\"驳回上一步\"/><bpm:button alias=\"delegate\" name=\"转办\"/><bpm:button alias=\"approvalHistory\" name=\"审批历史\"/><bpm:button alias=\"flowImage\" name=\"流程图\"/><bpm:button alias=\"print\" name=\"打印\"/><bpm:button alias=\"endProcess\" name=\"终止流程\"/><bpm:button alias=\"suspendProcess\" name=\"挂起\"/><bpm:button alias=\"recoverProcess\" name=\"恢复\"/></bpm:buttons><bpm:attributes><bpm:attribute name=\"hideOpinion\" value=\"false\"/><bpm:attribute name=\"jumpType\" value=\"common\"/><bpm:attribute name=\"rejectSection\" value=\"\"/><bpm:attribute name=\"hidePath\" value=\"true\"/><bpm:attribute name=\"prevHandler\" value=\"\"/><bpm:attribute name=\"allowExecutorEmpty\" value=\"false\"/><bpm:attribute name=\"notifyType\" value=\"inner\"/><bpm:attribute name=\"parentDefKey\" value=\"local_\"/><bpm:attribute name=\"skipExecutorEmpty\" value=\"false\"/><bpm:attribute name=\"rejectType\" value=\"all\"/><bpm:attribute name=\"postHandler\" value=\"\"/><bpm:attribute name=\"buttonInitialized\" value=\"true\"/><bpm:attribute name=\"nodeId\" value=\"Activity_1t5r0yu\"/></bpm:attributes><bpm:plugins>\n</bpm:plugins></extensionElements>\n </userTask>\n <userTask id=\"Activity_0zj8vy5\" name=\"2\">\n <extensionElements>\n <activiti:taskListener event=\"create\" delegateExpression=\"${taskCreateListener}\"/>\n <activiti:taskListener event=\"complete\" delegateExpression=\"${taskCompleteListener}\"/>\n \n <bpm:userScripts/><bpm:buttons><bpm:button alias=\"lock\" name=\"锁定\"/><bpm:button alias=\"unlock\" name=\"解锁\"/><bpm:button alias=\"forceUnlock\" name=\"强制解锁\"/><bpm:button alias=\"agree\" name=\"同意\"/><bpm:button alias=\"oppose\" name=\"反对\"/><bpm:button alias=\"reject\" name=\"驳回\"/><bpm:button alias=\"rejectToStart\" name=\"驳回发起人\"/><bpm:button alias=\"rejectToPrevious\" name=\"驳回上一步\"/><bpm:button alias=\"delegate\" name=\"转办\"/><bpm:button alias=\"approvalHistory\" name=\"审批历史\"/><bpm:button alias=\"flowImage\" name=\"流程图\"/><bpm:button alias=\"print\" name=\"打印\"/><bpm:button alias=\"endProcess\" name=\"终止流程\"/><bpm:button alias=\"suspendProcess\" name=\"挂起\"/><bpm:button alias=\"recoverProcess\" name=\"恢复\"/></bpm:buttons><bpm:attributes><bpm:attribute name=\"hideOpinion\" value=\"false\"/><bpm:attribute name=\"jumpType\" value=\"common\"/><bpm:attribute name=\"rejectSection\" value=\"\"/><bpm:attribute name=\"hidePath\" value=\"true\"/><bpm:attribute name=\"prevHandler\" value=\"\"/><bpm:attribute name=\"allowExecutorEmpty\" value=\"false\"/><bpm:attribute name=\"notifyType\" value=\"inner\"/><bpm:attribute name=\"parentDefKey\" value=\"local_\"/><bpm:attribute name=\"skipExecutorEmpty\" value=\"false\"/><bpm:attribute name=\"rejectType\" value=\"all\"/><bpm:attribute name=\"postHandler\" value=\"\"/><bpm:attribute name=\"buttonInitialized\" value=\"true\"/><bpm:attribute name=\"nodeId\" value=\"Activity_0zj8vy5\"/></bpm:attributes><bpm:plugins>\n</bpm:plugins></extensionElements>\n </userTask>\n </process>\n <bpmndi:BPMNDiagram id=\"BPMNDiagram_Process_0f8oaab\">\n <bpmndi:BPMNPlane bpmnElement=\"Process_0f8oaab\" id=\"BPMNPlane_Process_0f8oaab\">\n <bpmndi:BPMNShape bpmnElement=\"StartEvent_08yghcp\" id=\"_BPMNShape_StartEvent_08yghcp\">\n <omgdc:Bounds height=\"36\" width=\"36\" x=\"180\" y=\"240\"/>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape bpmnElement=\"Activity_1t5r0yu\" id=\"Activity_1t5r0yu_di\">\n <omgdc:Bounds height=\"80\" width=\"100\" x=\"270\" y=\"218\"/>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape bpmnElement=\"Activity_0zj8vy5\" id=\"Activity_0zj8vy5_di\">\n <omgdc:Bounds height=\"80\" width=\"100\" x=\"430\" y=\"218\"/>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape bpmnElement=\"Event_0rbv1gy\" id=\"Event_0rbv1gy_di\">\n <omgdc:Bounds height=\"36\" width=\"36\" x=\"592\" y=\"240\"/>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge bpmnElement=\"Flow_1xlnzqu\" id=\"Flow_1xlnzqu_di\">\n <omgdi:waypoint x=\"216\" y=\"258\"/>\n <omgdi:waypoint x=\"270\" y=\"258\"/>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge bpmnElement=\"Flow_0xbun51\" id=\"Flow_0xbun51_di\">\n <omgdi:waypoint x=\"370\" y=\"258\"/>\n <omgdi:waypoint x=\"430\" y=\"258\"/>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge bpmnElement=\"Flow_0flgetw\" id=\"Flow_0flgetw_di\">\n <omgdi:waypoint x=\"530\" y=\"258\"/>\n <omgdi:waypoint x=\"592\" y=\"258\"/>\n </bpmndi:BPMNEdge>\n </bpmndi:BPMNPlane>\n </bpmndi:BPMNDiagram>\n</definitions>"
},
"primaryBpmnXml": null,
"designer": "web设计器",
"typeName": null,
"authorizeRight": null,
"reminders": null,
"trigerFlows": null,
"auths": null,
"sn": 0,
"favorites": false,
"hasGuide": false,
"id": "680370541093191680",
"main": false,
"defXml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" 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\" id=\"Definitions_1dczmkp\" targetNamespace=\"http://bpmn.io/schema/bpmn\" xsi:schemaLocation=\"http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd\"><process id=\"Process_0f8oaab\" name=\"开发单表\" isExecutable=\"false\"><startEvent id=\"StartEvent_08yghcp\" name=\"开始\"><outgoing>Flow_1xlnzqu</outgoing></startEvent><userTask id=\"Activity_1t5r0yu\" name=\"1\"><incoming>Flow_1xlnzqu</incoming><outgoing>Flow_0xbun51</outgoing></userTask><sequenceFlow id=\"Flow_1xlnzqu\" sourceRef=\"StartEvent_08yghcp\" targetRef=\"Activity_1t5r0yu\" /><userTask id=\"Activity_0zj8vy5\" name=\"2\"><incoming>Flow_0xbun51</incoming><outgoing>Flow_0flgetw</outgoing></userTask><sequenceFlow id=\"Flow_0xbun51\" sourceRef=\"Activity_1t5r0yu\" targetRef=\"Activity_0zj8vy5\" /><endEvent id=\"Event_0rbv1gy\"><incoming>Flow_0flgetw</incoming></endEvent><sequenceFlow id=\"Flow_0flgetw\" sourceRef=\"Activity_0zj8vy5\" targetRef=\"Event_0rbv1gy\" /></process><bpmndi:BPMNDiagram id=\"BPMNDiagram_0t2feco\"><bpmndi:BPMNPlane id=\"BPMNPlane_0cs5mgs\" bpmnElement=\"Process_0f8oaab\"><bpmndi:BPMNShape id=\"_BPMNShape_StartEvent_08yghcp\" bpmnElement=\"StartEvent_08yghcp\"><dc:Bounds x=\"180\" y=\"240\" width=\"36\" height=\"36\" /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Activity_1t5r0yu_di\" bpmnElement=\"Activity_1t5r0yu\"><dc:Bounds x=\"270\" y=\"218\" width=\"100\" height=\"80\" /></bpmndi:BPMNShape><bpmndi:BPMNEdge id=\"Flow_1xlnzqu_di\" bpmnElement=\"Flow_1xlnzqu\"><di:waypoint x=\"216\" y=\"258\" /><di:waypoint x=\"270\" y=\"258\" /></bpmndi:BPMNEdge><bpmndi:BPMNShape id=\"Activity_0zj8vy5_di\" bpmnElement=\"Activity_0zj8vy5\"><dc:Bounds x=\"430\" y=\"218\" width=\"100\" height=\"80\" /></bpmndi:BPMNShape><bpmndi:BPMNEdge id=\"Flow_0xbun51_di\" bpmnElement=\"Flow_0xbun51\"><di:waypoint x=\"370\" y=\"258\" /><di:waypoint x=\"430\" y=\"258\" /></bpmndi:BPMNEdge><bpmndi:BPMNShape id=\"Event_0rbv1gy_di\" bpmnElement=\"Event_0rbv1gy\"><dc:Bounds x=\"592\" y=\"240\" width=\"36\" height=\"36\" /></bpmndi:BPMNShape><bpmndi:BPMNEdge id=\"Flow_0flgetw_di\" bpmnElement=\"Flow_0flgetw\"><di:waypoint x=\"530\" y=\"258\" /><di:waypoint x=\"592\" y=\"258\" /></bpmndi:BPMNEdge></bpmndi:BPMNPlane></bpmndi:BPMNDiagram></definitions>",
"bpmnXml": "<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:fg=\"bpm.graphic\" xmlns:bg=\"bpm.graphic\" xmlns:fn=\"http://www.w3.org/2005/02/xpath-functions\" xmlns:bpm=\"http://www.bpmhome.cn/bpm\" xmlns:ibps=\"http://www.bpmhome.cn/BPMN20EXT\" xmlns:omgdi=\"http://www.omg.org/spec/DD/20100524/DI\" xmlns:omgdc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:activiti=\"http://activiti.org/bpmn\" targetNamespace=\"http://activiti.org/bpmn20\" xsi:schemaLocation=\"http://www.bpmhome.cn/BPMN20EXT BPMN20EXT.xsd\">\n <process id=\"Process_0f8oaab\" name=\"开发单表\">\n <extensionElements>\n <activiti:executionListener event=\"start\" delegateExpression=\"${procStartListener}\"/>\n <activiti:executionListener event=\"end\" delegateExpression=\"${procEndListener}\"/>\n \n <bpm:boDefine boSaveMode=\"table\" isRequired=\"false\" key=\"kfdb\" name=\"开发单表\" version=\"1\"/><bpm:globalForm editUrl=\"\" formValue=\"kfdb\" key=\"\" mobileName=\"\" mobileUrl=\"\" mobileValue=\"\" mobileVersion=\"0\" name=\"\" parentFlowKey=\"local_\" templateId=\"\" templateName=\"\" type=\"inner\" version=\"0\"/><bpm:instForm editUrl=\"\" formValue=\"kfdb\" key=\"\" mobileName=\"\" mobileUrl=\"\" mobileValue=\"\" mobileVersion=\"0\" name=\"\" parentFlowKey=\"local_\" templateId=\"\" templateName=\"\" type=\"inner\" version=\"0\"/><bpm:attributes><bpm:attribute name=\"subjectRule\" value=\"{发起人:startorName}在{发起时间:startTime}发起{流程标题:title}\"/><bpm:attribute name=\"archiveNotifyType\" value=\"inner\"/><bpm:attribute name=\"allowTransTo\" value=\"false\"/><bpm:attribute name=\"prevHandler\" value=\"\"/><bpm:attribute name=\"allowExecutorEmpty\" value=\"false\"/><bpm:attribute name=\"description\" value=\"\"/><bpm:attribute name=\"firstNodeUserAssign\" value=\"false\"/><bpm:attribute name=\"startNotifyType\" value=\"inner\"/><bpm:attribute name=\"notifyType\" value=\"inner\"/><bpm:attribute name=\"skipExecutorEmpty\" value=\"false\"/><bpm:attribute name=\"testNotifyType\" value=\"inner\"/><bpm:attribute name=\"allowCopyTo\" value=\"false\"/><bpm:attribute name=\"testStatus\" value=\"test\"/><bpm:attribute name=\"skipSameUser\" value=\"true\"/><bpm:attribute name=\"allowRefCounts\" value=\"5\"/><bpm:attribute name=\"postHandler\" value=\"\"/><bpm:attribute name=\"skipFirstNode\" value=\"true\"/><bpm:attribute name=\"allowReference\" value=\"false\"/><bpm:attribute name=\"status\" value=\"deploy\"/></bpm:attributes></extensionElements>\n <startEvent activiti:initiator=\"startUser\" id=\"StartEvent_08yghcp\" name=\"开始\">\n <extensionElements>\n \n <bpm:userScripts/><bpm:buttons><bpm:button alias=\"startFlow\" name=\"启动\"/><bpm:button alias=\"saveDraft\" name=\"保存草稿\"/><bpm:button alias=\"flowImage\" name=\"流程图\"/><bpm:button alias=\"print\" name=\"打印\"/></bpm:buttons><bpm:attributes><bpm:attribute name=\"hideOpinion\" value=\"false\"/><bpm:attribute name=\"jumpType\" value=\"common\"/><bpm:attribute name=\"rejectSection\" value=\"\"/><bpm:attribute name=\"hidePath\" value=\"true\"/><bpm:attribute name=\"prevHandler\" value=\"\"/><bpm:attribute name=\"allowExecutorEmpty\" value=\"false\"/><bpm:attribute name=\"notifyType\" value=\"\"/><bpm:attribute name=\"parentDefKey\" value=\"local_\"/><bpm:attribute name=\"skipExecutorEmpty\" value=\"false\"/><bpm:attribute name=\"rejectType\" value=\"all\"/><bpm:attribute name=\"postHandler\" value=\"\"/><bpm:attribute name=\"buttonInitialized\" value=\"true\"/><bpm:attribute name=\"nodeId\" value=\"StartEvent_08yghcp\"/></bpm:attributes></extensionElements>\n </startEvent>\n <endEvent id=\"Event_0rbv1gy\" name=\"\">\n <extensionElements><bpm:userScripts/></extensionElements>\n </endEvent>\n <sequenceFlow sourceRef=\"StartEvent_08yghcp\" targetRef=\"Activity_1t5r0yu\" id=\"Flow_1xlnzqu\" name=\"\">\n <extensionElements/>\n </sequenceFlow>\n <sequenceFlow sourceRef=\"Activity_1t5r0yu\" targetRef=\"Activity_0zj8vy5\" id=\"Flow_0xbun51\" name=\"\">\n <extensionElements/>\n </sequenceFlow>\n <sequenceFlow sourceRef=\"Activity_0zj8vy5\" targetRef=\"Event_0rbv1gy\" id=\"Flow_0flgetw\" name=\"\">\n <extensionElements/>\n </sequenceFlow>\n <userTask id=\"Activity_1t5r0yu\" name=\"1\">\n <extensionElements>\n <activiti:taskListener event=\"create\" delegateExpression=\"${taskCreateListener}\"/>\n <activiti:taskListener event=\"complete\" delegateExpression=\"${taskCompleteListener}\"/>\n \n <bpm:userScripts/><bpm:buttons><bpm:button alias=\"lock\" name=\"锁定\"/><bpm:button alias=\"unlock\" name=\"解锁\"/><bpm:button alias=\"forceUnlock\" name=\"强制解锁\"/><bpm:button alias=\"agree\" name=\"同意\"/><bpm:button alias=\"oppose\" name=\"反对\"/><bpm:button alias=\"reject\" name=\"驳回\"/><bpm:button alias=\"rejectToStart\" name=\"驳回发起人\"/><bpm:button alias=\"rejectToPrevious\" name=\"驳回上一步\"/><bpm:button alias=\"delegate\" name=\"转办\"/><bpm:button alias=\"approvalHistory\" name=\"审批历史\"/><bpm:button alias=\"flowImage\" name=\"流程图\"/><bpm:button alias=\"print\" name=\"打印\"/><bpm:button alias=\"endProcess\" name=\"终止流程\"/><bpm:button alias=\"suspendProcess\" name=\"挂起\"/><bpm:button alias=\"recoverProcess\" name=\"恢复\"/></bpm:buttons><bpm:attributes><bpm:attribute name=\"hideOpinion\" value=\"false\"/><bpm:attribute name=\"jumpType\" value=\"common\"/><bpm:attribute name=\"rejectSection\" value=\"\"/><bpm:attribute name=\"hidePath\" value=\"true\"/><bpm:attribute name=\"prevHandler\" value=\"\"/><bpm:attribute name=\"allowExecutorEmpty\" value=\"false\"/><bpm:attribute name=\"notifyType\" value=\"inner\"/><bpm:attribute name=\"parentDefKey\" value=\"local_\"/><bpm:attribute name=\"skipExecutorEmpty\" value=\"false\"/><bpm:attribute name=\"rejectType\" value=\"all\"/><bpm:attribute name=\"postHandler\" value=\"\"/><bpm:attribute name=\"buttonInitialized\" value=\"true\"/><bpm:attribute name=\"nodeId\" value=\"Activity_1t5r0yu\"/></bpm:attributes><bpm:plugins>\n</bpm:plugins></extensionElements>\n </userTask>\n <userTask id=\"Activity_0zj8vy5\" name=\"2\">\n <extensionElements>\n <activiti:taskListener event=\"create\" delegateExpression=\"${taskCreateListener}\"/>\n <activiti:taskListener event=\"complete\" delegateExpression=\"${taskCompleteListener}\"/>\n \n <bpm:userScripts/><bpm:buttons><bpm:button alias=\"lock\" name=\"锁定\"/><bpm:button alias=\"unlock\" name=\"解锁\"/><bpm:button alias=\"forceUnlock\" name=\"强制解锁\"/><bpm:button alias=\"agree\" name=\"同意\"/><bpm:button alias=\"oppose\" name=\"反对\"/><bpm:button alias=\"reject\" name=\"驳回\"/><bpm:button alias=\"rejectToStart\" name=\"驳回发起人\"/><bpm:button alias=\"rejectToPrevious\" name=\"驳回上一步\"/><bpm:button alias=\"delegate\" name=\"转办\"/><bpm:button alias=\"approvalHistory\" name=\"审批历史\"/><bpm:button alias=\"flowImage\" name=\"流程图\"/><bpm:button alias=\"print\" name=\"打印\"/><bpm:button alias=\"endProcess\" name=\"终止流程\"/><bpm:button alias=\"suspendProcess\" name=\"挂起\"/><bpm:button alias=\"recoverProcess\" name=\"恢复\"/></bpm:buttons><bpm:attributes><bpm:attribute name=\"hideOpinion\" value=\"false\"/><bpm:attribute name=\"jumpType\" value=\"common\"/><bpm:attribute name=\"rejectSection\" value=\"\"/><bpm:attribute name=\"hidePath\" value=\"true\"/><bpm:attribute name=\"prevHandler\" value=\"\"/><bpm:attribute name=\"allowExecutorEmpty\" value=\"false\"/><bpm:attribute name=\"notifyType\" value=\"inner\"/><bpm:attribute name=\"parentDefKey\" value=\"local_\"/><bpm:attribute name=\"skipExecutorEmpty\" value=\"false\"/><bpm:attribute name=\"rejectType\" value=\"all\"/><bpm:attribute name=\"postHandler\" value=\"\"/><bpm:attribute name=\"buttonInitialized\" value=\"true\"/><bpm:attribute name=\"nodeId\" value=\"Activity_0zj8vy5\"/></bpm:attributes><bpm:plugins>\n</bpm:plugins></extensionElements>\n </userTask>\n </process>\n <bpmndi:BPMNDiagram id=\"BPMNDiagram_Process_0f8oaab\">\n <bpmndi:BPMNPlane bpmnElement=\"Process_0f8oaab\" id=\"BPMNPlane_Process_0f8oaab\">\n <bpmndi:BPMNShape bpmnElement=\"StartEvent_08yghcp\" id=\"_BPMNShape_StartEvent_08yghcp\">\n <omgdc:Bounds height=\"36\" width=\"36\" x=\"180\" y=\"240\"/>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape bpmnElement=\"Activity_1t5r0yu\" id=\"Activity_1t5r0yu_di\">\n <omgdc:Bounds height=\"80\" width=\"100\" x=\"270\" y=\"218\"/>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape bpmnElement=\"Activity_0zj8vy5\" id=\"Activity_0zj8vy5_di\">\n <omgdc:Bounds height=\"80\" width=\"100\" x=\"430\" y=\"218\"/>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape bpmnElement=\"Event_0rbv1gy\" id=\"Event_0rbv1gy_di\">\n <omgdc:Bounds height=\"36\" width=\"36\" x=\"592\" y=\"240\"/>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge bpmnElement=\"Flow_1xlnzqu\" id=\"Flow_1xlnzqu_di\">\n <omgdi:waypoint x=\"216\" y=\"258\"/>\n <omgdi:waypoint x=\"270\" y=\"258\"/>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge bpmnElement=\"Flow_0xbun51\" id=\"Flow_0xbun51_di\">\n <omgdi:waypoint x=\"370\" y=\"258\"/>\n <omgdi:waypoint x=\"430\" y=\"258\"/>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge bpmnElement=\"Flow_0flgetw\" id=\"Flow_0flgetw_di\">\n <omgdi:waypoint x=\"530\" y=\"258\"/>\n <omgdi:waypoint x=\"592\" y=\"258\"/>\n </bpmndi:BPMNEdge>\n </bpmndi:BPMNPlane>\n </bpmndi:BPMNDiagram>\n</definitions>"
}
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
defId | String | 流程定义ID |
bpmDefinition | BpmDefinePo | 流程定义对象 |
bpmDefLayout | BpmDefLayout | 流程定义的坐标对象 |
messageTypes | String | 消息类型 |
data | String | 流程设置数据 |
subProcess | String | 流程节点类型 |
获取流程定义表单变量
简述:
- 获取流程定义表单变量
请求URL:
- http://ip:port/ibps/business/v3/bpm/definition/buildFormVars
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
defId | String | 是 | 流程定义ID |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/business/v3/bpm/definition/buildFormVars?defId=626866373389189120
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": "[{\"id\":\"681535124172439552\",\"parentId\":0,\"name\":\"开发单表\",\"attrType\":\"table\",\"key\":\"kfdb\"},{\"id\":\"681535124172439553\",\"parentId\":0,\"name\":\"流程变量\"},{\"id\":\"681535124172439554\",\"parentId\":0,\"name\":\"流程常量\"},{\"id\":\"681535124172439555\",\"parentId\":\"681535124172439554\",\"name\":\"流程实例ID\",\"key\":\"instanceId_\",\"attrType\":\"bpmConstants\",\"type\":\"string\"},{\"id\":\"681535124172439556\",\"parentId\":\"681535124172439554\",\"name\":\"流程定义Key\",\"key\":\"flowKey_\",\"attrType\":\"bpmConstants\",\"type\":\"string\"},{\"id\":\"681535124172439557\",\"parentId\":\"681535124172439554\",\"name\":\"发起人\",\"key\":\"startUser\",\"attrType\":\"bpmConstants\",\"type\":\"string\"}]"
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | String | 流程定义变量json数据 |
保存流程定义设置
简述:
- 保存流程定义设置
请求URL:
- http://ip:port/ibps/business/v3/bpm/definition/saveSetting/vo
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
defId | String | 是 | 流程定义主键 | ||
data | String | 是 | 流程设置数据 |
请求参数示例:
{
"data": "{\"global\":{\"id\":\"Process_0f8oaab\",\"bo\":{\"saveMode\":\"table\",\"code\":\"kfdb\",\"name\":\"开发单表\",\"version\":1},\"form\":{\"type\":\"inner\",\"version\":0,\"mobileVersion\":null,\"formValue\":\"kfdb\",\"mobileValue\":\"\",\"name\":\"\",\"mobileName\":\"\",\"editUrl\":\"\",\"editFormRights\":null,\"mobileUrl\":\"\",\"templateId\":\"\",\"templateName\":\"\",\"prevHandler\":null,\"postHandler\":null},\"instForm\":{\"type\":\"inner\",\"version\":null,\"mobileVersion\":null,\"formValue\":\"kfdb\",\"mobileValue\":\"\",\"name\":\"\",\"mobileName\":\"\",\"editUrl\":\"\",\"editFormRights\":null,\"mobileUrl\":\"\",\"templateId\":\"\",\"templateName\":\"\"},\"formOpinions\":{},\"attributes\":{\"subjectRule\":\"{发起人:startorName}在{发起时间:startTime}发起{流程标题:title}\",\"archiveNotifyType\":\"inner\",\"allowTransTo\":false,\"prevHandler\":\"\",\"allowExecutorEmpty\":false,\"description\":\"\",\"firstNodeUserAssign\":false,\"startNotifyType\":\"inner\",\"notifyType\":\"inner\",\"skipExecutorEmpty\":false,\"testNotifyType\":\"inner\",\"allowCopyTo\":false,\"testStatus\":\"test\",\"skipSameUser\":true,\"allowRefCounts\":5,\"postHandler\":\"\",\"skipFirstNode\":true,\"allowReference\":false,\"status\":\"deploy\"},\"variables\":[],\"procNotify\":[]},\"nodes\":[{\"node_name\":\"2\",\"node_type\":\"userTask\",\"id\":\"Activity_0zj8vy5\",\"parentId\":null,\"users\":[],\"form\":{\"type\":\"\",\"version\":\"\",\"mobileVersion\":\"\",\"formValue\":\"\",\"mobileValue\":\"\",\"name\":\"\",\"mobileName\":\"\",\"editUrl\":\"\",\"editFormRights\":\"\",\"mobileUrl\":\"\",\"templateId\":\"\",\"templateName\":\"\"},\"scripts\":{\"complete\":\"\",\"create\":\"\"},\"buttons\":[{\"aliasName\":\"锁定\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"锁定\",\"alias\":\"lock\",\"beforeScript\":\"\"},{\"aliasName\":\"解锁\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"解锁\",\"alias\":\"unlock\",\"beforeScript\":\"\"},{\"aliasName\":\"强制解锁\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"强制解锁\",\"alias\":\"forceUnlock\",\"beforeScript\":\"\"},{\"aliasName\":\"同意\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"同意\",\"alias\":\"agree\",\"beforeScript\":\"\"},{\"aliasName\":\"反对\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"反对\",\"alias\":\"oppose\",\"beforeScript\":\"\"},{\"aliasName\":\"驳回\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"驳回\",\"alias\":\"reject\",\"beforeScript\":\"\"},{\"aliasName\":\"驳回发起人\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"驳回发起人\",\"alias\":\"rejectToStart\",\"beforeScript\":\"\"},{\"aliasName\":\"驳回上一步\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"驳回上一步\",\"alias\":\"rejectToPrevious\",\"beforeScript\":\"\"},{\"aliasName\":\"转办\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"转办\",\"alias\":\"delegate\",\"beforeScript\":\"\"},{\"aliasName\":\"审批历史\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"审批历史\",\"alias\":\"approvalHistory\",\"beforeScript\":\"\"},{\"aliasName\":\"流程图\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"流程图\",\"alias\":\"flowImage\",\"beforeScript\":\"\"},{\"aliasName\":\"打印\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"打印\",\"alias\":\"print\",\"beforeScript\":\"\"},{\"aliasName\":\"终止流程\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"终止流程\",\"alias\":\"endProcess\",\"beforeScript\":\"\"},{\"aliasName\":\"挂起\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"挂起\",\"alias\":\"suspendProcess\",\"beforeScript\":\"\"},{\"aliasName\":\"恢复\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"恢复\",\"alias\":\"recoverProcess\",\"beforeScript\":\"\"}],\"jumpRules\":[],\"reminders\":[],\"trigerFlows\":[],\"procNotify\":[],\"withOutGateway\":false,\"attributes\":{\"hideOpinion\":false,\"jumpType\":\"common\",\"rejectSection\":\"\",\"hidePath\":true,\"prevHandler\":\"\",\"allowExecutorEmpty\":false,\"notifyType\":\"inner\",\"parentDefKey\":\"local_\",\"skipExecutorEmpty\":false,\"rejectType\":\"all\",\"postHandler\":\"\",\"buttonInitialized\":true,\"nodeId\":\"Activity_0zj8vy5\"}},{\"node_name\":\"1\",\"node_type\":\"userTask\",\"id\":\"Activity_1t5r0yu\",\"parentId\":null,\"users\":[],\"form\":{\"type\":\"\",\"version\":\"\",\"mobileVersion\":\"\",\"formValue\":\"\",\"mobileValue\":\"\",\"name\":\"\",\"mobileName\":\"\",\"editUrl\":\"\",\"editFormRights\":\"\",\"mobileUrl\":\"\",\"templateId\":\"\",\"templateName\":\"\"},\"scripts\":{\"complete\":\"\",\"create\":\"\"},\"buttons\":[{\"aliasName\":\"锁定\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"锁定\",\"alias\":\"lock\",\"beforeScript\":\"\"},{\"aliasName\":\"解锁\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"解锁\",\"alias\":\"unlock\",\"beforeScript\":\"\"},{\"aliasName\":\"强制解锁\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"强制解锁\",\"alias\":\"forceUnlock\",\"beforeScript\":\"\"},{\"aliasName\":\"同意\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"同意\",\"alias\":\"agree\",\"beforeScript\":\"\"},{\"aliasName\":\"反对\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"反对\",\"alias\":\"oppose\",\"beforeScript\":\"\"},{\"aliasName\":\"驳回\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"驳回\",\"alias\":\"reject\",\"beforeScript\":\"\"},{\"aliasName\":\"驳回发起人\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"驳回发起人\",\"alias\":\"rejectToStart\",\"beforeScript\":\"\"},{\"aliasName\":\"驳回上一步\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"驳回上一步\",\"alias\":\"rejectToPrevious\",\"beforeScript\":\"\"},{\"aliasName\":\"转办\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"转办\",\"alias\":\"delegate\",\"beforeScript\":\"\"},{\"aliasName\":\"审批历史\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"审批历史\",\"alias\":\"approvalHistory\",\"beforeScript\":\"\"},{\"aliasName\":\"流程图\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"流程图\",\"alias\":\"flowImage\",\"beforeScript\":\"\"},{\"aliasName\":\"打印\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"打印\",\"alias\":\"print\",\"beforeScript\":\"\"},{\"aliasName\":\"终止流程\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"终止流程\",\"alias\":\"endProcess\",\"beforeScript\":\"\"},{\"aliasName\":\"挂起\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"挂起\",\"alias\":\"suspendProcess\",\"beforeScript\":\"\"},{\"aliasName\":\"恢复\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"恢复\",\"alias\":\"recoverProcess\",\"beforeScript\":\"\"}],\"jumpRules\":[],\"reminders\":[],\"trigerFlows\":[],\"procNotify\":[],\"withOutGateway\":false,\"attributes\":{\"hideOpinion\":false,\"jumpType\":\"common\",\"rejectSection\":\"\",\"hidePath\":true,\"prevHandler\":\"\",\"allowExecutorEmpty\":false,\"notifyType\":\"inner\",\"parentDefKey\":\"local_\",\"skipExecutorEmpty\":false,\"rejectType\":\"all\",\"postHandler\":\"\",\"buttonInitialized\":true,\"nodeId\":\"Activity_1t5r0yu\"}},{\"node_name\":\"\",\"node_type\":\"end\",\"id\":\"Event_0rbv1gy\",\"parentId\":null,\"scripts\":{\"end\":\"\"}},{\"node_name\":\"开始\",\"node_type\":\"start\",\"id\":\"StartEvent_08yghcp\",\"parentId\":null,\"scripts\":{\"start\":\"\"},\"buttons\":[{\"aliasName\":\"启动\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"启动\",\"alias\":\"startFlow\",\"beforeScript\":\"\"},{\"aliasName\":\"保存草稿\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"保存草稿\",\"alias\":\"saveDraft\",\"beforeScript\":\"\"},{\"aliasName\":\"流程图\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"流程图\",\"alias\":\"flowImage\",\"beforeScript\":\"\"},{\"aliasName\":\"打印\",\"supportScript\":false,\"afterScript\":\"\",\"code\":\"\",\"name\":\"打印\",\"alias\":\"print\",\"beforeScript\":\"\"}],\"attributes\":{\"hideOpinion\":false,\"jumpType\":\"common\",\"rejectSection\":\"\",\"hidePath\":true,\"prevHandler\":\"\",\"allowExecutorEmpty\":false,\"notifyType\":\"\",\"parentDefKey\":\"local_\",\"skipExecutorEmpty\":false,\"rejectType\":\"all\",\"postHandler\":\"\",\"buttonInitialized\":true,\"nodeId\":\"StartEvent_08yghcp\"}}]}",
"defId": "680370541093191680"
}
返回示例:
{
"state": 200,
"request": null,
"message": "保存流程定义成功",
"cause": "",
"variables": {},
"data": {}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Void |
节点下的按钮编辑
简述:
- 编辑状态节点下的按钮
请求URL:
- http://ip:port/ibps/business/v3/bpm/definition/editButton
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
nodeType | String | 是 | 节点类型 |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/business/v3/bpm/definition/editButton?nodeType=task
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": [
{
"name": "流程图",
"alias": "flowImage",
"code": null,
"beforeScript": null,
"afterScript": null,
"supportScript": false,
"aliasName": null
},
{
"name": "打印",
"alias": "print",
"code": null,
"beforeScript": null,
"afterScript": null,
"supportScript": false,
"aliasName": null
}
]
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | List< Button > | 按钮对象 |
节点下的按钮初始化
简述:
- 节点下的按钮初始化
请求URL:
- http://ip:port/ibps/business/v3/bpm/definition/initButton
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
nodeType | String | 是 | 节点类型 |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/business/v3/bpm/definition/initButton?nodeType=userTask
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": [
{
"name": "锁定",
"alias": "lock",
"code": null,
"beforeScript": null,
"afterScript": null,
"supportScript": false,
"aliasName": "锁定"
},
{
"name": "解锁",
"alias": "unlock",
"code": null,
"beforeScript": null,
"afterScript": null,
"supportScript": false,
"aliasName": "解锁"
},
{
"name": "强制解锁",
"alias": "forceUnlock",
"code": null,
"beforeScript": null,
"afterScript": null,
"supportScript": false,
"aliasName": "强制解锁"
},
{
"name": "同意",
"alias": "agree",
"code": null,
"beforeScript": null,
"afterScript": null,
"supportScript": true,
"aliasName": "同意"
},
{
"name": "反对",
"alias": "oppose",
"code": null,
"beforeScript": null,
"afterScript": null,
"supportScript": true,
"aliasName": "反对"
},
{
"name": "驳回",
"alias": "reject",
"code": null,
"beforeScript": null,
"afterScript": null,
"supportScript": true,
"aliasName": "驳回"
},
{
"name": "驳回发起人",
"alias": "rejectToStart",
"code": null,
"beforeScript": null,
"afterScript": null,
"supportScript": true,
"aliasName": "驳回发起人"
},
{
"name": "驳回上一步",
"alias": "rejectToPrevious",
"code": null,
"beforeScript": null,
"afterScript": null,
"supportScript": true,
"aliasName": "驳回上一步"
},
{
"name": "转办",
"alias": "delegate",
"code": null,
"beforeScript": null,
"afterScript": null,
"supportScript": false,
"aliasName": "转办"
},
{
"name": "审批历史",
"alias": "approvalHistory",
"code": null,
"beforeScript": null,
"afterScript": null,
"supportScript": false,
"aliasName": "审批历史"
},
{
"name": "流程图",
"alias": "flowImage",
"code": null,
"beforeScript": null,
"afterScript": null,
"supportScript": false,
"aliasName": "流程图"
},
{
"name": "打印",
"alias": "print",
"code": null,
"beforeScript": null,
"afterScript": null,
"supportScript": false,
"aliasName": "打印"
},
{
"name": "终止流程",
"alias": "endProcess",
"code": null,
"beforeScript": null,
"afterScript": null,
"supportScript": true,
"aliasName": "终止流程"
},
{
"name": "挂起",
"alias": "suspendProcess",
"code": null,
"beforeScript": null,
"afterScript": null,
"supportScript": true,
"aliasName": "挂起"
},
{
"name": "恢复",
"alias": "recoverProcess",
"code": null,
"beforeScript": null,
"afterScript": null,
"supportScript": true,
"aliasName": "恢复"
}
]
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | List< Button > | 按钮对象 |