文档
测试

路由定义-保存

POST
/workflow/wfDefineRoute/save

接口描述

保存路由得请求

请求数据json

```json { "route":{ "id": 3, //唯一ID "activityId": 0, "routeAlias": "1",//路由别名 "nextActivityId": 0, "finishType": "1", "conditionExpression": "1", "conditionExplain": "1", "candidateId": "1",//主办人ID "candidateName": "1",//主办人 "personId": "1",//经办人ID "personName": "1",经办人 "autoRoute": "1", "relateFormElementValue": "1",//自动路由关联的表单元素名 "relateFormElement": "1",//自动路由关联的表单元素ID "orderBy": 0, "lineType": "1",// "lineM": 0, "remark": "1", "copyFrom": "1", "tenantId": 0, "nextActivityName": "1", "nextActivityCode": "1", "activityType": "1", "swimActivityId": "1", "queryHistory": "1", "hideAgent": "1", "isSelect": "1", "limitPersonId": "1", "limitRoleId": "1", "limitOrgId": "1" } }

请求参数

参数名
类型
描述
必填
activityId
int
示例:2
可选
routeAlias
string
示例:结束
可选
nextActivityId
int
示例:3
可选
finishType
string
示例:Y
可选

响应参数

参数名
类型
描述
必填
successful
boolean
示例:true
必填
code
int
示例:200
必填
message
string
示例:操作成功!
必填
timestamp
int
示例:1665728340356
必填
data
object
数据字典
必填
state
string
示例:success
必填

响应json

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