文档
测试

保存流程

POST
/ks/m?xwl=sys/workflow3.0/httpInvoke

接口描述

保存流程

请求头

参数名
类型
描述
必填
Content-Type
string
采用form-data传参,值取application/x-www-form-urlencoded
必填

请求参数

参数名
类型
描述
必填
transCode
string
接口名称:flow.updateFlowDefAction
必填
flowDefContent
string
流程内容
必填
flowDefName
流程名称
必填
remark
备注信息
必填
dirId
父目录ID
必填
flowDefId
流程ID
必填

响应参数

参数名
类型
描述
必填
retCode
string
000000
必填
retMsg
string
描述信息
必填
rspData
object
响应数据
必填
transCode
string
接口名称
必填

说明 / 示例

传参`flowDefContent`示例: ```json { "flow": { "defaultDialog": "", "defaultViewDialog": "", "defaultAction": "", "shareData": "", "sendMail": "false", "sendSms": "false", "remark": "" }, "links": [{ "id": 1597800569282, "beeline": true, "lineTitle": "22", "condition": "", "remark": "", "from": 1597800542283, "to": 1597800563227 }, { "id": 1597801193185, "beeline": true, "lineTitle": "", "condition": "", "remark": "", "from": 1597801183668, "to": 1597800563227 }], "nodes": [{ "id": 1597800542283, "type": "peopleHandler", "waitNodeCondition": "", "name": "新建节点", "doUser": "", "doProcess": "队列", "passUsers": "", "ccUser": "", "nodeTitle": "", "actionType": "", "dialog": "", "viewDialog": "", "multSubFlow": "", "robot": "", "isParallelNode": "false", "multDialog": "", "timeOut": "", "timeOutLevel": "", "nodeSendMail": "false", "nodeSendSms": "false", "remark": "", "height": 24, "width": 120, "x": 189, "y": 110 }, { "id": 1597800563227, "type": "peopleHandler", "waitNodeCondition": "", "name": "新建节点", "doUser": "", "doProcess": "队列", "passUsers": "", "ccUser": "", "nodeTitle": "", "actionType": "", "dialog": "", "viewDialog": "", "multSubFlow": "", "robot": "", "isParallelNode": "false", "multDialog": "", "timeOut": "", "timeOutLevel": "", "nodeSendMail": "false", "nodeSendSms": "false", "remark": "", "height": 24, "width": 120, "x": 210, "y": 362 }, { "id": 1597801183668, "type": "peopleHandler", "waitNodeCondition": "", "name": "新建节点", "doUser": "", "doProcess": "队列", "passUsers": "", "ccUser": "", "nodeTitle": "", "actionType": "", "dialog": "", "viewDialog": "", "multSubFlow": "", "robot": "", "isParallelNode": "false", "multDialog": "", "timeOut": "", "timeOutLevel": "", "nodeSendMail": "false", "nodeSendSms": "false", "remark": "", "height": 24, "width": 120, "x": 237, "y": 497 }, { "id": 1597825360284, "type": "peopleHandler", "waitNodeCondition": "", "name": "新建节点", "doUser": "", "doProcess": "队列", "passUsers": "", "ccUser": "", "nodeTitle": "", "actionType": "", "dialog": "", "viewDialog": "", "multSubFlow": "", "robot": "", "isParallelNode": "false", "multDialog": "", "timeOut": "", "timeOutLevel": "", "nodeSendMail": "false", "nodeSendSms": "false", "remark": "", "height": 24, "width": 120, "x": 421, "y": 138 }] } ```