ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
# /workFlow/getWorkFlowList `HTTP请求方式:GET` > 获取可申请的流程列表 ## 请求参数 |名称| 类型 |是否必须|描述| |:---:| :---: |:---:|:---:| |flowName| String|否|流程名称| |flowType| String|否|流程类型| |status| String|否|流程实例状态: 0:正常;1:停用| ## 响应参数 |名称| 类型 |描述| |:---:| :---: |:---:| |flowCode| String|流程编码| |flowName| String|流程名称| |flowType| Integer|流程类型| |flowTypeName| String|流程类型名称| |status| String|状态| |StatusName| String|状态名称| |formInformation|Object|表单信息| |createTime| String|提交时间| ## 内联表单 |名称| 类型 |描述| |:---:| :---: |:---:| |formType| Integer|表单类型,0:内联表单;1:外联表单| |formCode| String|表单编码| ## 外联表单 |名称| 类型 |描述| |:---:| :---: |:---:| |formType| Integer|表单类型,0:内联表单;1:外联表单| |formUrl| String|表单链接地址| |parameters| Integer|表单传递参数| ## 请求示例 ```json /workFlow/getWorkFlowList?pageSize=2&status=0 ``` ## 响应示例 >流程表单为内联表单 ```json { "result": true, "code": 0, "msg": "成功", "data": { "total": 15, "rows": [ { "flowCode": "8301583567dd4abdac9ad3ea6f6ad938", "flowName": "出差费用报销", "flowType": 1, "flowTypeName": "财务", "status": 0, "statusName": "正常", "formInformation": { "formType": 0, "formInformation": { "formCode": "b7a16c4a8aeb4432b1b2fb553771d872" } }, "createTime": "2020-11-09 15:40:02" }, { "flowCode": "259c3711adc64bb9b70711943557b64d", "flowName": "借款申请", "flowType": 1, "flowTypeName": "财务", "status": 0, "statusName": "正常", "formInformation": { "formType": 0, "formInformation": { "formCode": "b7a16c4a8aeb4432b1b2fb553771d872" } }, "createTime": "2020-11-05 15:46:43" } ] } } ``` >流程表单为外联表单 ```json { "result": true, "code": 0, "msg": "成功", "data": { "total": 1, "rows": [ { "flowCode": "7273682d72de4b338c4873def7229297", "flowName": "技术团队团建费用申请", "flowType": 1, "flowTypeName": "财务", "status": 0, "statusName": "正常", "formInformation": { "formType": 1, "formInformation": { "formUrl": "http://www.huiliaike.com", "parameters": "{\n \"flowCode\": \"259c3711adc64bb9b70711943557b64d\"\n}" } }, "createTime": "2020-05-04 07:21:59" } ] } } ```