文档
测试

活动定义-编辑页面

GET
/workflow/wfDefineActivity/edit

接口描述

活动定义-编辑请求获取数据

请求参数

参数名
类型
描述
必填
resourceid
String
活动ID
必填

响应参数JSON

```json { "successful": true, "code": 200, "message": "操作成功!", "timestamp": 1666955257429, "data": { "candidate": { "id": 3, "activityId": 3, "candidateId": "1", "candidateName": "测试2", "personId": "1", "personName": "王小明", "objCandidateId": "选择类别", "objCandidateIdValue": "btnSelectCategory", "objCandidateName": "所属系统", "objCandidateNameValue": "category", "objPersonId": "所属系统", "objPersonIdValue": "category", "objPersonName": "摘要", "objPersonNameValue": "summary", "relateRoleId": "1", "relateRoleName": "研发", "relateCondition": "S", "relateVariable": "事故来源", "relateVariableValue": "source", "relateExplain": "范德萨发", "isSelect": "N", "limitPersonId": "1", "limitPersonName": "测试2", "limitRoleId": "2", "limitRoleName": "产品", "limitOrgId": "1", "limitOrgName": "财务部", "candidateRoleId": "1", "candidateRoleName": "软件开发", "personRoleId": "1", "personRoleName": "测试", "candidateIsself": "N", "personIsself": "N", "candidateUsergroupId": "1", "candidateUsergroupName": "测试任务组04", "personUsergroupId": "1", "personUsergroupName": "测试任务组04", "candidateIsGroupresp": "n", "personIsGroupresp": "n", "candidateIsCugroupresp": "n", "personIsCugroupresp": "n", "candidateIsCreater": "n", "copyFrom": "1", "tenantId": 1 }, "activity": { "id": 3, "createdBy": 1, "createdName": "管理员", "createdTime": "2022-10-13 15:39:24", "processId": 1, "activityName": "结束", "activityAlias": "结束", "activityType": "T", "supportAutoRoute": "n", "autoRouteConditionFields": "1,2", "endOtherTodo": "y", "taskFlag": "Y", "taskPercent": 100, "forkJoin": "G", "forkNode": "Y", "joinActivityCount": 3, "timeLimit": 0, "swimActivityId": 1, "gobackType": "A", "backActivityId": 1, "queryHistory": "Y", "hideAgent": "Y", "copyBtn": "Y", "signBtn": "Y", "authorizeBtn": "Y", "takebackBtn": "Y", "stopBtn": "Y", "invalidBtn": "Y", "turntoBtn": "Y", "urgeBtn": "Y", "emailRemind": "Y", "smsRemind": "Y", "remindUserId": "11", "remindUserName": "李小龙", "opinionCustomFlag": "S", "opinionCustomDesc": "已知公司规则", "submitProjectValidate": "Y", "orderBy": 11, "remark": "备足", "copyFrom": "11", "nodeLeft": 1122, "nodeTop": 200, "nodeWidth": 86, "nodeHeight": 24, "activityCode": "ACCIDENT_REPORT", "activityStatname": "状态名称", "isApp": "n", "autoRouteCustomFields": "1,2", "tenantId": 1, "swimActivityName": null, "opinionList": [], "remarkContent": null, "currHandler": null, "creater": null, "otherPersonId": null }, "processName": "系统管理", "list": [ { "id": 3, "createdBy": 1, "createdName": "管理员", "createdTime": "2022-10-13 15:39:24", "processId": 1, "activityName": "结束", "activityAlias": "结束", "activityType": "T", "supportAutoRoute": "n", "autoRouteConditionFields": "1,2", "endOtherTodo": "y", "taskFlag": "Y", "taskPercent": 100, "forkJoin": "G", "forkNode": "Y", "joinActivityCount": 3, "timeLimit": 0, "swimActivityId": 1, "gobackType": "A", "backActivityId": 1, "queryHistory": "Y", "hideAgent": "Y", "copyBtn": "Y", "signBtn": "Y", "authorizeBtn": "Y", "takebackBtn": "Y", "stopBtn": "Y", "invalidBtn": "Y", "turntoBtn": "Y", "urgeBtn": "Y", "emailRemind": "Y", "smsRemind": "Y", "remindUserId": "11", "remindUserName": "李小龙", "opinionCustomFlag": "S", "opinionCustomDesc": "已知公司规则", "submitProjectValidate": "Y", "orderBy": 11, "remark": "备足", "copyFrom": "11", "nodeLeft": 1122, "nodeTop": 200, "nodeWidth": 86, "nodeHeight": 24, "activityCode": "ACCIDENT_REPORT", "activityStatname": "状态名称", "isApp": "n", "autoRouteCustomFields": "1,2", "tenantId": 1, "swimActivityName": null, "opinionList": [], "remarkContent": null, "currHandler": null, "creater": null, "otherPersonId": null } ] } }

swagger 功能定位

![image.png](https://cos.easydoc.net/97781918/files/l9i3mb42.png) ![image.png](https://cos.easydoc.net/97781918/files/l9i3mmus.png)