ITSM

运维管理系统


查询单个流程实例

简要描述
  • 根据流程实例id查询单个工单API接口
请求URL
  • http://${ip}:8096//workflow/api/processInfo
请求方式
  • POST
  • Content-Type : application/json
    参数示例
{
    "processInstanceId": "1163758"
}
参数
参数名 必选 类型 说明
processInstanceId string 流程实例id
返回示例
  {
    "errorCode": 0,
    "message": "成功",
    "time": 1644389369339,
    "responseBody": {
        "uuid": "1163758",
        "processInstanceId": "1163758",
        "taskId": "1163770",
        "processName": "事件管理",
        "processKey": "kfw200318105905138",
        "formId": "event",
        "handle": null,
        "currentNodeInfo": {
            "nodeName": "提交事件",
            "nodeId": "sid-E24D2A39-5168-4CD4-BC99-E5510BCB35F1",
            "nodeType": "普通",
            "assignee": "d22ae15a56394869924059a9d5867a29",
            "opinionRequired": null,
            "candidateUsers": null,
            "button": {
                "delete": true
            },
            "candidateGroups": [
                "d22ae15a56394869924059a9d5867a29"
            ],
            "signTask": null,
            "circulatePerson": null
        },
        "nextNodeInfo": [
            {
                "nodeName": "一线解决",
                "nodeId": "sid-D5CA1A19-6938-4761-AFE1-49CDF2B3832F",
                "nodeType": "并联审批",
                "assignee": null,
                "multiInstCollection": "ListAssignee",
                "noUser": false,
                "candidateUsers": [],
                "candidateGroups": [
                    "alineOfpeopleRole",
                    "administratorRole"
                ],
                "state": null,
                "strategy": null
            }
        ],
        "formData": {
            "abdefasdfsdagag": {
                "label": "",
                "value": ""
            },
            "closetime": "",
            "kf_config_xh6u6": [],
            "eventtime": "",
            "event_replay": "",
            "experience": "",
            "solvetime": "",
            "submiteridea": "",
            "reportdepartment": {
                "label": "测试211111",
                "value": "57f99df44d494b21b5c3fafffd2eaccb"
            },
            "ffff": "",
            "closeperson": {
                "label": "",
                "value": ""
            },
            "selectcmdb": [
                "3602b369df4b4c9c922ce18f5a85fcc7",
                "0c452fe132dc4b31a0f421b8879f322f"
            ],
            "accepttime": "",
            "solveunavailable": "",
            "creationtime": "2022-02-07 14:47:43",
            "event_occurplace": {
                "label": "",
                "value": ""
            },
            "acceptperson": {
                "label": "",
                "value": ""
            },
            "youscore": 5,
            "23": [],
            "event_reportlevel": {
                "label": "",
                "value": ""
            },
            "remark": "",
            "title": "",
            "even_task": "",
            "describeattach": [],
            "turnissue": [],
            "subsequent": "",
            "event_priority": {
                "label": "",
                "value": ""
            }
        },
        "basicFlowInstanceLogList": [
            {
                "uuid": "c8bd0b8815de45f988ef3489d428d300",
                "arritytime": "2022-02-07 14:47:42",
                "dealTime": "2022-02-07 14:56:40",
                "nodeId": "sid-E24D2A39-5168-4CD4-BC99-E5510BCB35F1",
                "nodeName": "提交事件",
                "value": "同意",
                "key": "保存",
                "userName": "系统管理员",
                "userUuid": "d22ae15a56394869924059a9d5867a29"
            },
            {
                "uuid": "1472111c39cc4f475d2cf276c8a95070",
                "arritytime": "2022-02-07 14:47:42",
                "dealTime": "2022-02-07 14:56:03",
                "nodeId": "sid-E24D2A39-5168-4CD4-BC99-E5510BCB35F1",
                "nodeName": "提交事件",
                "value": "同意",
                "key": "保存",
                "userName": "系统管理员",
                "userUuid": "d22ae15a56394869924059a9d5867a29"
            },
            {
                "uuid": "2c71b4d6a289fb57ac2f83437de6bcc7",
                "arritytime": "2022-02-07 14:47:42",
                "dealTime": "2022-02-07 14:49:48",
                "nodeId": "sid-E24D2A39-5168-4CD4-BC99-E5510BCB35F1",
                "nodeName": "提交事件",
                "value": "同意",
                "key": "保存",
                "userName": "系统管理员",
                "userUuid": "d22ae15a56394869924059a9d5867a29"
            },
            {
                "uuid": "8ceecf64abd6a12e21196ae26feb81d8",
                "arritytime": "2022-02-07 14:47:42",
                "dealTime": "2022-02-07 14:49:37",
                "nodeId": "sid-E24D2A39-5168-4CD4-BC99-E5510BCB35F1",
                "nodeName": "提交事件",
                "value": "同意",
                "key": "保存",
                "userName": "系统管理员",
                "userUuid": "d22ae15a56394869924059a9d5867a29"
            }
        ],
        "processVersion": "kfw200318105905138:139:1042019",
        "formVersion": "258",
        "formConfigVersion": null,
        "externalForm": "true",
        "formUri": "viewRender?formKey=event&title=事件管理",
        "lastUpdate": "2022-02-07 14:56:40.618",
        "debug": true
    }
}
返回参数说明
参数名 类型 说明
errorCode int 报错码:0正常
message String 接口返回提示
responseBody JSON 返回内容
responseBody->uuid String 生成数据的uuid
responseBody->processInstanceId String 流程实例id
responseBody->taskId String 任务id
responseBody->processName String 流程名称
responseBody->processKey String 流程pkey
responseBody->formId String 表单id
responseBody->handle String 当前人是否有处理权限 true:false
responseBody->currentNodeInfo JSON 当前所在节点信息
responseBody->nextNodeInfo JSONArray 下一节点信息
responseBody->formData JSON 表单formData
responseBody->basicFlowInstanceLogList JSONArray 流程日志
responseBody->processVersion String 当前实例所属流程版本
responseBody->formVersion String 当前实例所属表单版本
responseBody->formConfigVersion String 当前实例所属流程节点配置版本
responseBody->externalForm String 是否外部表单
responseBody->formUri String 表单链接
responseBody->lastUpdate String 最后修改时间
responseBody->debug String 当前流程是否是调试模式
备注

页面列表

ITEM_HTML