文档
测试

流程定义-保存流程图

POST
/workflow/wfDefineProcess/saveMap

接口描述

流程定义-保存流程图

请求体json

```json { "actVos": [ { "id": "2", "name": "一线运维受理11111", "x": 11111, "y": 1111, "height": 1110, "width":2220, "itemId": "4b2d76b3-7161-403f-b6d3-c2ba7e5", "attrs": { "text": { "text": "一线运维受理11111" }, "body": { "rx": 55, "ry": 55 } }, "type": "task", "shape": "flow-chart-rect" } ], "routeVos": [ { "id": "39", "source": { "cell": "2", "port": "4b2d76b3-7161-403f-b6d3-c2ba7e5" }, "target": { "cell": "32" }, "shape": "edge", "vertices": [ { "x": 551, "y": 5551 } ], "conditionExplain": "1+1" } ] }

响应参数JSON

```json { "successful": true, "code": 200, "message": "操作成功!", "timestamp": 1667381261604, "data": { "state": "success" } }

swagger 功能定位

![image.png](https://cos.easydoc.net/97781918/files/l9zfyjh9.png) ![image.png](https://cos.easydoc.net/97781918/files/l9zfyqff.png) ![image.png](https://cos.easydoc.net/97781918/files/lbhmc8tj.png)