流程实例与待办
获取审批流程执行详情
获取指定工作表行记录下某条审批流程执行的详细信息
鉴权方式
AppKey + Sign 是应用密钥鉴权,由管理员创建,用于以应用管理员身份访问应用数据。
版本
请求地址
Path 参数
| 名称 | 类型 | 必填 | 描述 |
|---|---|---|---|
worksheet_id | string | 是 | 工作表 id |
row_id | string | 是 | 行记录 id |
approval_id | string | 是 | 审批流程 id |
Header 参数
| 名称 | 类型 | 必填 | 描述 |
|---|---|---|---|
HAP-Appkey | string | 是 | HAP应用密钥 |
HAP-Sign | string | 是 | HAP签名 |
响应参数
200成功返回审批流程执行详情| 名称 | 类型 | 描述 |
|---|---|---|
success | boolean | 是否调用成功 |
error_code | integer | 错误代码 |
error_msg | string | 错误消息 |
data | object | 审批流程执行详情数据 |
data.companyId | string | 组织id |
data.works | object[] | 流转节点实例 |
data.works.instanceId | string | 流程实例id |
data.works.workId | string | 工作Id |
data.works.workItems | object[] | 工作项列表 |
data.works.workItems.workId | string | 工作项 ID |
data.works.workItems.workItemId | string | 待办项 ID |
data.works.workItems.type | integer | 类型 |
data.works.workItems.workItemAccount | object | 工作项处理人名字 |
data.works.workItems.workItemAccount.accountId | string | 账号 ID |
data.works.workItems.workItemAccount.fullName | string | 姓名 |
data.works.workItems.workItemAccount.fullname | string | 姓名(兼容字段) |
data.works.workItems.workItemAccount.avatar | string | 头像 URL |
data.works.workItems.workItemAccount.status | integer | 状态 |
data.works.workItems.workItemAccount.isOwner | boolean | null | 是否拥有者 |
data.works.workItems.receiveTime | string | null | 接收时间 |
data.works.workItems.viewTime | string | null | 查看时间 |
data.works.workItems.operationType | integer | null | 操作类型,0 等 |
data.works.workItems.operationTime | string | null | 操作时间 |
data.works.workItems.dueTime | string | null | 截止时间 |
data.works.workItems.executeTime | string | null | 执行时间 |
data.works.workItems.updateTime | string | null | 更新时间 |
data.works.workItems.workItemLog | null | 最后一个日志 |
data.works.workItems.workItemLog.content | string | null | — |
data.works.workItems.workItemLog.createDate | string | 创建时间,格式:yyyy-MM-dd HH:mm:ss |
data.works.workItems.workItemLog.action | integer | — |
data.works.workItems.workItemLog.actionTarget | string | null | — |
data.works.workItems.workItemLog.actionTargetName | string | null | — |
data.works.workItems.workItemLog.fields | array | null | — |
data.works.workItems.countersign | boolean | null | — |
data.works.workItems.countersignComplete | boolean | null | — |
data.works.workItems.opinion | string | null | 审批意见 |
data.works.workItems.opinionType | integer | null | 意见类型 |
data.works.workItems.signature | null | 签名 |
data.works.workItems.signature.bucket | integer | — |
data.works.workItems.signature.key | string | — |
data.works.workItems.signature.server | string | — |
data.works.workItems.signature.authType | integer | — |
data.works.workItems.logIds | array | null | 行编辑日志id |
data.works.workItems.principal | null | 委托人 |
data.works.workItems.principal.accountId | string | 账号 ID |
data.works.workItems.principal.fullName | string | 姓名 |
data.works.workItems.principal.fullname | string | 姓名(兼容字段) |
data.works.workItems.principal.avatar | string | 头像 URL |
data.works.workItems.principal.status | integer | 状态 |
data.works.workItems.principal.isOwner | boolean | null | 是否拥有者 |
data.works.workItems.administrator | null | 管理员 |
data.works.workItems.administrator.accountId | string | 账号 ID |
data.works.workItems.administrator.fullName | string | 姓名 |
data.works.workItems.administrator.fullname | string | 姓名(兼容字段) |
data.works.workItems.administrator.avatar | string | 头像 URL |
data.works.workItems.administrator.status | integer | 状态 |
data.works.workItems.administrator.isOwner | boolean | null | 是否拥有者 |
data.works.workItems.fileIds | array | null | 附件 |
data.works.workItems.files | array | null | 附件列表 |
data.works.flowNode | object | 节点名字 |
data.works.flowNode.name | string | null | 节点名称 |
data.works.flowNode.appId | string | null | 应用 ID |
data.works.flowNode.appType | integer | null | 应用类型 |
data.works.flowNode.selectNodeId | string | null | 选中的节点ID |
data.works.flowNode.selectNodeObj | object | 默认选中的当前流程中的对象 |
data.works.flowNode.selectNodeObj.nodeId | string | 节点ID |
data.works.flowNode.selectNodeObj.nodeName | string | 节点名称 |
data.works.flowNode.selectNodeObj.appId | string | 应用 ID |
data.works.flowNode.selectNodeObj.appName | string | 应用名称 |
data.works.flowNode.selectNodeObj.appType | integer | 应用类型 |
data.works.flowNode.selectNodeObj.appTypeName | string | 应用名称 |
data.works.flowNode.selectNodeObj.nodeTypeId | integer | 类型 0发起节点 1网关 2分支 3填写 4审批 5通知 6动作 7:查找 8:webhook,9:公式,10:短信,11:邮件,12:延时,13:获取批量数据,14:代码块 |
data.works.flowNode.selectNodeObj.countersign | boolean | 是否是会签组 |
data.works.flowNode.selectNodeObj.actionId | string | 方式:查找节点:1: 搜索,2:关联他表字段 |
data.works.flowNode.formulaMap | object | 文本拼接字段对应的控件名称和节点名称map |
data.works.flowNode.id | string | null | — |
data.works.flowNode.type | integer | null | 类型 |
data.works.flowNode.triggerId | string | null | 触发方式 用于发起节点 1新增 2修改 |
data.works.flowNode.triggerField | string | null | 触发指定控件 |
data.works.flowNode.triggerFields | string[] | 触发指定控件列表 |
data.works.flowNode.formProperties | array | null | 表单属性 |
data.works.flowNode.child | boolean | null | 是否是子流程 |
data.works.flowNode.batchType | integer | null | 批量通过 默认是-2:审批意见必填 -1:审批表单内容有必填项,0:允许 1:签名 |
data.works.flowNode.passBatchType | integer | null | 批量通过 默认是-2:审批意见必填 -1:审批表单内容有必填项,0:允许 1:签名 |
data.works.flowNode.overruleBatchType | integer | null | 批量否决 默认是-2:审批意见必填 -1:审批表单内容有必填项,0:允许 1:签名 |
data.works.flowNode.allowTransfer | boolean | null | — |
data.works.flowNode.allowForward | boolean | null | — |
data.works.flowNode.allowSign | boolean | null | — |
data.works.flowNode.auth | object | 审批节点需要的认证 |
data.works.flowNode.auth.passTypeList | integer[] | 审批通过需要的操作:100:审批意见 1: 签名 2:实名 3:实名+实人 |
data.works.flowNode.auth.overruleTypeList | integer[] | 审批否决需要的操作:100:审批意见 1: 签名 2:实名 3:实名+实人 |
data.works.flowNode.encrypt | boolean | null | 登录密码验证 |
data.works.flowNode.callBackType | integer | null | -1: 无配置 0:重新执行 1:直接返回审批节点 |
data.works.flowNode.nextId | string | null | 下一节点ID |
data.works.flowNode.flowIds | array | null | 流程ID列表 |
data.works.flowNode.flows | array | null | 流程列表 |
data.works.flowNode.desc | string | null | 节点说明 |
data.works.flowNode.alias | string | null | 别名 |
data.works.flowNode.actionId | string | null | 方式:查找节点:1: 搜索,2:关联他表字段 |
data.works.flowNode.subProcessId | string | null | 执行子流程id |
data.works.flowNode.btnMap | object | null | 自定义按钮名称 |
data.works.flowNode.fieldRequired | boolean | null | 字段必填 |
data.works.flowNode.prveId | string | null | — |
data.works.flowNode.resultTypeId | integer | null | — |
data.works.flowNode.batchApprove | boolean | null | 是否勾选批量审批 |
data.works.flowNode.fastApprove | boolean | null | — |
data.works.flowNode.allowUploadAttachment | boolean | null | — |
data.works.flowNode.ignoreRequired | boolean | null | — |
data.works.flowNode.isCallBack | boolean | null | — |
data.works.flowNode.signatureType | integer | null | — |
data.works.app | object | 应用 |
data.works.app.iconColor | string | 图标颜色 |
data.works.app.iconName | string | 图标名称 |
data.works.app.id | string | null | 应用 ID |
data.works.app.name | string | 应用名称 |
data.works.app.entityName | string | 记录名 |
data.works.app.describe | string | null | 描述 |
data.works.app.chargeId | string | null | 工作表负责人 |
data.works.app.type | integer | 应用类型 |
data.works.app.otherApkName | string | 其他应用名称 |
data.works.app.otherApkId | string | 其他应用Id |
data.works.countersign | boolean | null | 是否是会签组 |
data.works.countersignType | integer | null | 会签类型 1 全员通过 2单个通过 |
data.works.signType | integer | null | 加签多人操作 |
data.works.condition | object | null | 会签通过的表达式,按比例通过 |
data.works.multipleLevelType | integer | 是否是层级及类型 |
data.works.multipleLevel | integer | 层级数 -1为最高级 |
data.works.sort | integer | 顺序 默认值1 |
data.works.assigned | boolean | 是否已分配 默认值true,false 取消分配 未分配 |
data.works.allowUrge | boolean | 允许触发者催办 |
data.works.urgeTime | string | null | 最后一次催办时间 |
data.works.debugEventDump | object | null | 调试事件 原始值 |
data.works.allowTaskRevokeBackNodeId | string | null | 允许审批人撤回的节点id |
data.works.explain | string | null | 审批填写说明 |
data.works.explainMap | object | null | 多语言审批填写说明 |
data.currentWork | null | 当前工作 |
data.currentWork.instanceId | string | 流程实例id |
data.currentWork.workId | string | 工作Id |
data.currentWork.workItems | object[] | 工作项列表 |
data.currentWork.workItems.workId | string | 工作项 ID |
data.currentWork.workItems.workItemId | string | 待办项 ID |
data.currentWork.workItems.type | integer | 类型 |
data.currentWork.workItems.workItemAccount | object | 工作项处理人名字 |
data.currentWork.workItems.workItemAccount.accountId | string | 账号 ID |
data.currentWork.workItems.workItemAccount.fullName | string | 姓名 |
data.currentWork.workItems.workItemAccount.fullname | string | 姓名(兼容字段) |
data.currentWork.workItems.workItemAccount.avatar | string | 头像 URL |
data.currentWork.workItems.workItemAccount.status | integer | 状态 |
data.currentWork.workItems.workItemAccount.isOwner | boolean | null | 是否拥有者 |
data.currentWork.workItems.receiveTime | string | null | 接收时间 |
data.currentWork.workItems.viewTime | string | null | 查看时间 |
data.currentWork.workItems.operationType | integer | null | 操作类型,0 等 |
data.currentWork.workItems.operationTime | string | null | 操作时间 |
data.currentWork.workItems.dueTime | string | null | 截止时间 |
data.currentWork.workItems.executeTime | string | null | 执行时间 |
data.currentWork.workItems.updateTime | string | null | 更新时间 |
data.currentWork.workItems.workItemLog | null | 最后一个日志 |
data.currentWork.workItems.workItemLog.content | string | null | — |
data.currentWork.workItems.workItemLog.createDate | string | 创建时间,格式:yyyy-MM-dd HH:mm:ss |
data.currentWork.workItems.workItemLog.action | integer | — |
data.currentWork.workItems.workItemLog.actionTarget | string | null | — |
data.currentWork.workItems.workItemLog.actionTargetName | string | null | — |
data.currentWork.workItems.workItemLog.fields | array | null | — |
data.currentWork.workItems.countersign | boolean | null | — |
data.currentWork.workItems.countersignComplete | boolean | null | — |
data.currentWork.workItems.opinion | string | null | 审批意见 |
data.currentWork.workItems.opinionType | integer | null | 意见类型 |
data.currentWork.workItems.signature | null | 签名 |
data.currentWork.workItems.signature.bucket | integer | — |
data.currentWork.workItems.signature.key | string | — |
data.currentWork.workItems.signature.server | string | — |
data.currentWork.workItems.signature.authType | integer | — |
data.currentWork.workItems.logIds | array | null | 行编辑日志id |
data.currentWork.workItems.principal | null | 委托人 |
data.currentWork.workItems.principal.accountId | string | 账号 ID |
data.currentWork.workItems.principal.fullName | string | 姓名 |
data.currentWork.workItems.principal.fullname | string | 姓名(兼容字段) |
data.currentWork.workItems.principal.avatar | string | 头像 URL |
data.currentWork.workItems.principal.status | integer | 状态 |
data.currentWork.workItems.principal.isOwner | boolean | null | 是否拥有者 |
data.currentWork.workItems.administrator | null | 管理员 |
data.currentWork.workItems.administrator.accountId | string | 账号 ID |
data.currentWork.workItems.administrator.fullName | string | 姓名 |
data.currentWork.workItems.administrator.fullname | string | 姓名(兼容字段) |
data.currentWork.workItems.administrator.avatar | string | 头像 URL |
data.currentWork.workItems.administrator.status | integer | 状态 |
data.currentWork.workItems.administrator.isOwner | boolean | null | 是否拥有者 |
data.currentWork.workItems.fileIds | array | null | 附件 |
data.currentWork.workItems.files | array | null | 附件列表 |
data.currentWork.flowNode | object | 节点名字 |
data.currentWork.flowNode.name | string | null | 节点名称 |
data.currentWork.flowNode.appId | string | null | 应用 ID |
data.currentWork.flowNode.appType | integer | null | 应用类型 |
data.currentWork.flowNode.selectNodeId | string | null | 选中的节点ID |
data.currentWork.flowNode.selectNodeObj | object | 默认选中的当前流程中的对象 |
data.currentWork.flowNode.selectNodeObj.nodeId | string | 节点ID |
data.currentWork.flowNode.selectNodeObj.nodeName | string | 节点名称 |
data.currentWork.flowNode.selectNodeObj.appId | string | 应用 ID |
data.currentWork.flowNode.selectNodeObj.appName | string | 应用名称 |
data.currentWork.flowNode.selectNodeObj.appType | integer | 应用类型 |
data.currentWork.flowNode.selectNodeObj.appTypeName | string | 应用名称 |
data.currentWork.flowNode.selectNodeObj.nodeTypeId | integer | 类型 0发起节点 1网关 2分支 3填写 4审批 5通知 6动作 7:查找 8:webhook,9:公式,10:短信,11:邮件,12:延时,13:获取批量数据,14:代码块 |
data.currentWork.flowNode.selectNodeObj.countersign | boolean | 是否是会签组 |
data.currentWork.flowNode.selectNodeObj.actionId | string | 方式:查找节点:1: 搜索,2:关联他表字段 |
data.currentWork.flowNode.formulaMap | object | 文本拼接字段对应的控件名称和节点名称map |
data.currentWork.flowNode.id | string | null | — |
data.currentWork.flowNode.type | integer | null | 类型 |
data.currentWork.flowNode.triggerId | string | null | 触发方式 用于发起节点 1新增 2修改 |
data.currentWork.flowNode.triggerField | string | null | 触发指定控件 |
data.currentWork.flowNode.triggerFields | string[] | 触发指定控件列表 |
data.currentWork.flowNode.formProperties | array | null | 表单属性 |
data.currentWork.flowNode.child | boolean | null | 是否是子流程 |
data.currentWork.flowNode.batchType | integer | null | 批量通过 默认是-2:审批意见必填 -1:审批表单内容有必填项,0:允许 1:签名 |
data.currentWork.flowNode.passBatchType | integer | null | 批量通过 默认是-2:审批意见必填 -1:审批表单内容有必填项,0:允许 1:签名 |
data.currentWork.flowNode.overruleBatchType | integer | null | 批量否决 默认是-2:审批意见必填 -1:审批表单内容有必填项,0:允许 1:签名 |
data.currentWork.flowNode.allowTransfer | boolean | null | — |
data.currentWork.flowNode.allowForward | boolean | null | — |
data.currentWork.flowNode.allowSign | boolean | null | — |
data.currentWork.flowNode.auth | object | 审批节点需要的认证 |
data.currentWork.flowNode.auth.passTypeList | integer[] | 审批通过需要的操作:100:审批意见 1: 签名 2:实名 3:实名+实人 |
data.currentWork.flowNode.auth.overruleTypeList | integer[] | 审批否决需要的操作:100:审批意见 1: 签名 2:实名 3:实名+实人 |
data.currentWork.flowNode.encrypt | boolean | null | 登录密码验证 |
data.currentWork.flowNode.callBackType | integer | null | -1: 无配置 0:重新执行 1:直接返回审批节点 |
data.currentWork.flowNode.nextId | string | null | 下一节点ID |
data.currentWork.flowNode.flowIds | array | null | 流程ID列表 |
data.currentWork.flowNode.flows | array | null | 流程列表 |
data.currentWork.flowNode.desc | string | null | 节点说明 |
data.currentWork.flowNode.alias | string | null | 别名 |
data.currentWork.flowNode.actionId | string | null | 方式:查找节点:1: 搜索,2:关联他表字段 |
data.currentWork.flowNode.subProcessId | string | null | 执行子流程id |
data.currentWork.flowNode.btnMap | object | null | 自定义按钮名称 |
data.currentWork.flowNode.fieldRequired | boolean | null | 字段必填 |
data.currentWork.flowNode.prveId | string | null | — |
data.currentWork.flowNode.resultTypeId | integer | null | — |
data.currentWork.flowNode.batchApprove | boolean | null | 是否勾选批量审批 |
data.currentWork.flowNode.fastApprove | boolean | null | — |
data.currentWork.flowNode.allowUploadAttachment | boolean | null | — |
data.currentWork.flowNode.ignoreRequired | boolean | null | — |
data.currentWork.flowNode.isCallBack | boolean | null | — |
data.currentWork.flowNode.signatureType | integer | null | — |
data.currentWork.app | object | 应用 |
data.currentWork.app.iconColor | string | 图标颜色 |
data.currentWork.app.iconName | string | 图标名称 |
data.currentWork.app.id | string | null | 应用 ID |
data.currentWork.app.name | string | 应用名称 |
data.currentWork.app.entityName | string | 记录名 |
data.currentWork.app.describe | string | null | 描述 |
data.currentWork.app.chargeId | string | null | 工作表负责人 |
data.currentWork.app.type | integer | 应用类型 |
data.currentWork.app.otherApkName | string | 其他应用名称 |
data.currentWork.app.otherApkId | string | 其他应用Id |
data.currentWork.countersign | boolean | null | 是否是会签组 |
data.currentWork.countersignType | integer | null | 会签类型 1 全员通过 2单个通过 |
data.currentWork.signType | integer | null | 加签多人操作 |
data.currentWork.condition | object | null | 会签通过的表达式,按比例通过 |
data.currentWork.multipleLevelType | integer | 是否是层级及类型 |
data.currentWork.multipleLevel | integer | 层级数 -1为最高级 |
data.currentWork.sort | integer | 顺序 默认值1 |
data.currentWork.assigned | boolean | 是否已分配 默认值true,false 取消分配 未分配 |
data.currentWork.allowUrge | boolean | 允许触发者催办 |
data.currentWork.urgeTime | string | null | 最后一次催办时间 |
data.currentWork.debugEventDump | object | null | 调试事件 原始值 |
data.currentWork.allowTaskRevokeBackNodeId | string | null | 允许审批人撤回的节点id |
data.currentWork.explain | string | null | 审批填写说明 |
data.currentWork.explainMap | object | null | 多语言审批填写说明 |
data.currentWorkItem | null | 当前工作详情 |
data.currentWorkItem.workId | string | 工作项 ID |
data.currentWorkItem.workItemId | string | 待办项 ID |
data.currentWorkItem.type | integer | 类型 |
data.currentWorkItem.workItemAccount | object | 工作项处理人名字 |
data.currentWorkItem.workItemAccount.accountId | string | 账号 ID |
data.currentWorkItem.workItemAccount.fullName | string | 姓名 |
data.currentWorkItem.workItemAccount.fullname | string | 姓名(兼容字段) |
data.currentWorkItem.workItemAccount.avatar | string | 头像 URL |
data.currentWorkItem.workItemAccount.status | integer | 状态 |
data.currentWorkItem.workItemAccount.isOwner | boolean | null | 是否拥有者 |
data.currentWorkItem.receiveTime | string | null | 接收时间 |
data.currentWorkItem.viewTime | string | null | 查看时间 |
data.currentWorkItem.operationType | integer | null | 操作类型,0 等 |
data.currentWorkItem.operationTime | string | null | 操作时间 |
data.currentWorkItem.dueTime | string | null | 截止时间 |
data.currentWorkItem.executeTime | string | null | 执行时间 |
data.currentWorkItem.updateTime | string | null | 更新时间 |
data.currentWorkItem.workItemLog | null | 最后一个日志 |
data.currentWorkItem.workItemLog.content | string | null | — |
data.currentWorkItem.workItemLog.createDate | string | 创建时间,格式:yyyy-MM-dd HH:mm:ss |
data.currentWorkItem.workItemLog.action | integer | — |
data.currentWorkItem.workItemLog.actionTarget | string | null | — |
data.currentWorkItem.workItemLog.actionTargetName | string | null | — |
data.currentWorkItem.workItemLog.fields | array | null | — |
data.currentWorkItem.countersign | boolean | null | — |
data.currentWorkItem.countersignComplete | boolean | null | — |
data.currentWorkItem.opinion | string | null | 审批意见 |
data.currentWorkItem.opinionType | integer | null | 意见类型 |
data.currentWorkItem.signature | null | 签名 |
data.currentWorkItem.signature.bucket | integer | — |
data.currentWorkItem.signature.key | string | — |
data.currentWorkItem.signature.server | string | — |
data.currentWorkItem.signature.authType | integer | — |
data.currentWorkItem.logIds | array | null | 行编辑日志id |
data.currentWorkItem.principal | null | 委托人 |
data.currentWorkItem.principal.accountId | string | 账号 ID |
data.currentWorkItem.principal.fullName | string | 姓名 |
data.currentWorkItem.principal.fullname | string | 姓名(兼容字段) |
data.currentWorkItem.principal.avatar | string | 头像 URL |
data.currentWorkItem.principal.status | integer | 状态 |
data.currentWorkItem.principal.isOwner | boolean | null | 是否拥有者 |
data.currentWorkItem.administrator | null | 管理员 |
data.currentWorkItem.administrator.accountId | string | 账号 ID |
data.currentWorkItem.administrator.fullName | string | 姓名 |
data.currentWorkItem.administrator.fullname | string | 姓名(兼容字段) |
data.currentWorkItem.administrator.avatar | string | 头像 URL |
data.currentWorkItem.administrator.status | integer | 状态 |
data.currentWorkItem.administrator.isOwner | boolean | null | 是否拥有者 |
data.currentWorkItem.fileIds | array | null | 附件 |
data.currentWorkItem.files | array | null | 附件列表 |
data.operationTypeList | array | null | 可操作动作 3撤回 4通过 5拒绝 6转审 7加签 9提交 10转交 12打印 |
data.operationUserRange | object | null | 允许操作的类型对应可选的用户范围 |
data.opinionTemplate | null | 通过否决的意见模版 |
data.opinionTemplate.inputType | integer | 输入方式 1:自由输入 2:仅支持指定的模版 |
data.opinionTemplate.opinions | object | 意见列表 |
data.title | string | null | 标题 |
data.processName | string | 流程名字 |
data.processId | string | 流程id |
data.parentId | string | 编辑版流程id |
data.isApproval | boolean | 是否是审批流 |
data.flowNode | object | 当前节点名字 |
data.flowNode.name | string | null | 节点名称 |
data.flowNode.appId | string | null | 应用 ID |
data.flowNode.appType | integer | null | 应用类型 |
data.flowNode.selectNodeId | string | null | 选中的节点ID |
data.flowNode.selectNodeObj | object | 默认选中的当前流程中的对象 |
data.flowNode.selectNodeObj.nodeId | string | 节点ID |
data.flowNode.selectNodeObj.nodeName | string | 节点名称 |
data.flowNode.selectNodeObj.appId | string | 应用 ID |
data.flowNode.selectNodeObj.appName | string | 应用名称 |
data.flowNode.selectNodeObj.appType | integer | 应用类型 |
data.flowNode.selectNodeObj.appTypeName | string | 应用名称 |
data.flowNode.selectNodeObj.nodeTypeId | integer | 类型 0发起节点 1网关 2分支 3填写 4审批 5通知 6动作 7:查找 8:webhook,9:公式,10:短信,11:邮件,12:延时,13:获取批量数据,14:代码块 |
data.flowNode.selectNodeObj.countersign | boolean | 是否是会签组 |
data.flowNode.selectNodeObj.actionId | string | 方式:查找节点:1: 搜索,2:关联他表字段 |
data.flowNode.formulaMap | object | 文本拼接字段对应的控件名称和节点名称map |
data.flowNode.id | string | null | — |
data.flowNode.type | integer | null | 类型 |
data.flowNode.triggerId | string | null | 触发方式 用于发起节点 1新增 2修改 |
data.flowNode.triggerField | string | null | 触发指定控件 |
data.flowNode.triggerFields | string[] | 触发指定控件列表 |
data.flowNode.formProperties | array | null | 表单属性 |
data.flowNode.child | boolean | null | 是否是子流程 |
data.flowNode.batchType | integer | null | 批量通过 默认是-2:审批意见必填 -1:审批表单内容有必填项,0:允许 1:签名 |
data.flowNode.passBatchType | integer | null | 批量通过 默认是-2:审批意见必填 -1:审批表单内容有必填项,0:允许 1:签名 |
data.flowNode.overruleBatchType | integer | null | 批量否决 默认是-2:审批意见必填 -1:审批表单内容有必填项,0:允许 1:签名 |
data.flowNode.allowTransfer | boolean | null | — |
data.flowNode.allowForward | boolean | null | — |
data.flowNode.allowSign | boolean | null | — |
data.flowNode.auth | object | 审批节点需要的认证 |
data.flowNode.auth.passTypeList | integer[] | 审批通过需要的操作:100:审批意见 1: 签名 2:实名 3:实名+实人 |
data.flowNode.auth.overruleTypeList | integer[] | 审批否决需要的操作:100:审批意见 1: 签名 2:实名 3:实名+实人 |
data.flowNode.encrypt | boolean | null | 登录密码验证 |
data.flowNode.callBackType | integer | null | -1: 无配置 0:重新执行 1:直接返回审批节点 |
data.flowNode.nextId | string | null | 下一节点ID |
data.flowNode.flowIds | array | null | 流程ID列表 |
data.flowNode.flows | array | null | 流程列表 |
data.flowNode.desc | string | null | 节点说明 |
data.flowNode.alias | string | null | 别名 |
data.flowNode.actionId | string | null | 方式:查找节点:1: 搜索,2:关联他表字段 |
data.flowNode.subProcessId | string | null | 执行子流程id |
data.flowNode.btnMap | object | null | 自定义按钮名称 |
data.flowNode.fieldRequired | boolean | null | 字段必填 |
data.flowNode.prveId | string | null | — |
data.flowNode.resultTypeId | integer | null | — |
data.flowNode.batchApprove | boolean | null | 是否勾选批量审批 |
data.flowNode.fastApprove | boolean | null | — |
data.flowNode.allowUploadAttachment | boolean | null | — |
data.flowNode.ignoreRequired | boolean | null | — |
data.flowNode.isCallBack | boolean | null | — |
data.flowNode.signatureType | integer | null | — |
data.backFlowNodes | object[] | 回退节点列表 |
data.backFlowNodes.name | string | null | 节点名称 |
data.backFlowNodes.appId | string | null | 应用 ID |
data.backFlowNodes.appType | integer | null | 应用类型 |
data.backFlowNodes.selectNodeId | string | null | 选中的节点ID |
data.backFlowNodes.selectNodeObj | object | 默认选中的当前流程中的对象 |
data.backFlowNodes.selectNodeObj.nodeId | string | 节点ID |
data.backFlowNodes.selectNodeObj.nodeName | string | 节点名称 |
data.backFlowNodes.selectNodeObj.appId | string | 应用 ID |
data.backFlowNodes.selectNodeObj.appName | string | 应用名称 |
data.backFlowNodes.selectNodeObj.appType | integer | 应用类型 |
data.backFlowNodes.selectNodeObj.appTypeName | string | 应用名称 |
data.backFlowNodes.selectNodeObj.nodeTypeId | integer | 类型 0发起节点 1网关 2分支 3填写 4审批 5通知 6动作 7:查找 8:webhook,9:公式,10:短信,11:邮件,12:延时,13:获取批量数据,14:代码块 |
data.backFlowNodes.selectNodeObj.countersign | boolean | 是否是会签组 |
data.backFlowNodes.selectNodeObj.actionId | string | 方式:查找节点:1: 搜索,2:关联他表字段 |
data.backFlowNodes.formulaMap | object | 文本拼接字段对应的控件名称和节点名称map |
data.backFlowNodes.id | string | null | — |
data.backFlowNodes.type | integer | null | 类型 |
data.backFlowNodes.triggerId | string | null | 触发方式 用于发起节点 1新增 2修改 |
data.backFlowNodes.triggerField | string | null | 触发指定控件 |
data.backFlowNodes.triggerFields | string[] | 触发指定控件列表 |
data.backFlowNodes.formProperties | array | null | 表单属性 |
data.backFlowNodes.child | boolean | null | 是否是子流程 |
data.backFlowNodes.batchType | integer | null | 批量通过 默认是-2:审批意见必填 -1:审批表单内容有必填项,0:允许 1:签名 |
data.backFlowNodes.passBatchType | integer | null | 批量通过 默认是-2:审批意见必填 -1:审批表单内容有必填项,0:允许 1:签名 |
data.backFlowNodes.overruleBatchType | integer | null | 批量否决 默认是-2:审批意见必填 -1:审批表单内容有必填项,0:允许 1:签名 |
data.backFlowNodes.allowTransfer | boolean | null | — |
data.backFlowNodes.allowForward | boolean | null | — |
data.backFlowNodes.allowSign | boolean | null | — |
data.backFlowNodes.auth | object | 审批节点需要的认证 |
data.backFlowNodes.auth.passTypeList | integer[] | 审批通过需要的操作:100:审批意见 1: 签名 2:实名 3:实名+实人 |
data.backFlowNodes.auth.overruleTypeList | integer[] | 审批否决需要的操作:100:审批意见 1: 签名 2:实名 3:实名+实人 |
data.backFlowNodes.encrypt | boolean | null | 登录密码验证 |
data.backFlowNodes.callBackType | integer | null | -1: 无配置 0:重新执行 1:直接返回审批节点 |
data.backFlowNodes.nextId | string | null | 下一节点ID |
data.backFlowNodes.flowIds | array | null | 流程ID列表 |
data.backFlowNodes.flows | array | null | 流程列表 |
data.backFlowNodes.desc | string | null | 节点说明 |
data.backFlowNodes.alias | string | null | 别名 |
data.backFlowNodes.actionId | string | null | 方式:查找节点:1: 搜索,2:关联他表字段 |
data.backFlowNodes.subProcessId | string | null | 执行子流程id |
data.backFlowNodes.btnMap | object | null | 自定义按钮名称 |
data.backFlowNodes.fieldRequired | boolean | null | 字段必填 |
data.backFlowNodes.prveId | string | null | — |
data.backFlowNodes.resultTypeId | integer | null | — |
data.backFlowNodes.batchApprove | boolean | null | 是否勾选批量审批 |
data.backFlowNodes.fastApprove | boolean | null | — |
data.backFlowNodes.allowUploadAttachment | boolean | null | — |
data.backFlowNodes.ignoreRequired | boolean | null | — |
data.backFlowNodes.isCallBack | boolean | null | — |
data.backFlowNodes.signatureType | integer | null | — |
data.callBackNodeType | integer | null | 0:以上所有 1:仅开始 2:仅上一个 3:指定节点 |
data.instanceType | integer | 申请表单状态 -1删除,0撤回,1正常,2草稿 |
data.btnMap | object | null | 按钮对应的名称 |
data.status | integer | 状态 1进行中,2完成,3中止,4失败 |
data.currentWorkIds | string[] | 当前步骤ID列表 |
data.signOperationType | integer | null | 加签操作类型 0出选择 1审批前加签 2审批后加签 |
data.allowTaskRevokeBackNodeId | string | null | 允许审批人撤回的节点id |
data.printList | object[] | 打印模版列表 |
data.printList.iconColor | string | 图标颜色 |
data.printList.iconName | string | 图标名称 |
data.printList.id | string | null | 应用 ID |
data.printList.name | string | 应用名称 |
data.printList.entityName | string | 记录名 |
data.printList.describe | string | null | 描述 |
data.printList.chargeId | string | null | 工作表负责人 |
data.printList.type | integer | 应用类型 |
data.printList.otherApkName | string | 其他应用名称 |
data.printList.otherApkId | string | 其他应用Id |
data.disabledPrint | boolean | 是否关闭系统打印 |
data.recordTitle | string | null | 待办标题 |
data.ownerAccount | null | 数据拥有者 |
data.ownerAccount.accountId | string | 账号 ID |
data.ownerAccount.fullName | string | 姓名 |
data.ownerAccount.fullname | string | 姓名(兼容字段) |
data.ownerAccount.avatar | string | 头像 URL |
data.ownerAccount.status | integer | 状态 |
data.ownerAccount.isOwner | boolean | null | 是否拥有者 |
data.createAccount | null | 数据创建者,实际流程触发者信息 |
data.createAccount.accountId | string | 账号 ID |
data.createAccount.fullName | string | 姓名 |
data.createAccount.fullname | string | 姓名(兼容字段) |
data.createAccount.avatar | string | 头像 URL |
data.createAccount.status | integer | 状态 |
data.createAccount.isOwner | boolean | null | 是否拥有者 |
data.createDate | string | null | 数据创建时间 |
data.app | null | 应用信息 |
data.app.id | string | 应用Id |
data.app.name | string | 应用名称 |
data.app.describe | string | 应用描述 |
data.app.icon | string | 图标 |
data.app.iconColor | string | 图标颜色 |
data.app.iconUrl | string | 图标地址 |
curl -X GET "https://example.com/v3/app/workflow/worksheet_id/rows/row_id/approval/approval_id" \ -H "HAP-Appkey: {{HAP-Appkey}}" \ -H "HAP-Sign: {{HAP-Sign}}"{ "success": true, "data": { "companyId": "78e6b44e-10ab-443c-9030-de66e0067f30", "works": [ { "instanceId": "69bce862a937e243ac9e9c38", "workId": "69bce862a937e243ac9e9c40", "workItems": [ { "workId": "69bce862a937e243ac9e9c40", "workItemId": "69bce862a937e243ac9e9c41", "type": 0, "workItemAccount": { "accountId": "d0e9f1d7-ed3d-4284-8d12-77c74313f208", "fullName": "大强", "avatar": "https://dn-mdpic.mingdao.com/UserAvatar/default9.png", "status": 1, "isOwner": null, "fullname": "大强" }, "receiveTime": "2026-03-20 14:25:38", "viewTime": null, "operationType": 9, "operationTime": "2026-03-20 14:25:38", "dueTime": null, "executeTime": null, "updateTime": null, "workItemLog": null, "countersign": null, "countersignComplete": null, "opinion": "", "opinionType": null, "signature": null, "logIds": null, "principal": null, "administrator": null, "fileIds": null, "files": null } ], "flowNode": { "name": "流程发起节点", "appId": "", "appType": 9, "selectNodeId": "", "selectNodeObj": { "nodeId": "", "nodeName": "", "appId": "", "appName": "", "appType": -1, "appTypeName": "", "nodeTypeId": -1, "countersign": false, "actionId": "" }, "formulaMap": {}, "id": "643766f9818a042e6c0f18a4", "type": 0, "triggerId": "64376661818a042e6c0f1587", "triggerField": "", "triggerFields": [], "child": false, "batchType": -1, "passBatchType": -1, "overruleBatchType": -1, "auth": { "passTypeList": [], "overruleTypeList": [] }, "encrypt": false, "callBackType": -1, "nextId": "", "flowIds": [], "flows": [] }, "app": { "iconColor": "", "iconName": "", "id": null, "name": "", "entityName": "", "describe": null, "chargeId": null, "type": 0, "otherApkName": "", "otherApkId": "" }, "countersign": null, "countersignType": null, "signType": null, "condition": null, "multipleLevelType": 0, "multipleLevel": -1, "sort": 1, "assigned": true, "allowUrge": false, "urgeTime": null, "debugEventDump": null, "allowTaskRevokeBackNodeId": null, "explain": null, "explainMap": null }, { "instanceId": "69bce862a937e243ac9e9c38", "workId": "69bce862a937e243ac9e9c44", "workItems": [ { "workId": "69bce862a937e243ac9e9c44", "workItemId": "69bce862a937e243ac9e9c45", "type": 4, "workItemAccount": { "accountId": "d0e9f1d7-ed3d-4284-8d12-77c74313f208", "fullName": "大强", "avatar": "https://dn-mdpic.mingdao.com/UserAvatar/default9.png", "status": 1, "isOwner": null, "fullname": "大强" }, "receiveTime": "2026-03-20 14:25:38", "viewTime": "2026-03-20 14:25:56", "operationType": 0, "operationTime": null, "dueTime": null, "executeTime": null, "updateTime": null, "workItemLog": { "content": null, "createDate": "2026-03-20 14:25:56", "action": 3, "actionTarget": null, "actionTargetName": null, "fields": null }, "countersign": null, "countersignComplete": null, "opinion": null, "opinionType": null, "signature": null, "logIds": null, "principal": null, "administrator": null, "fileIds": null, "files": null } ], "flowNode": { "name": "审批1", "appId": "", "appType": 9, "selectNodeId": "", "selectNodeObj": { "nodeId": "", "nodeName": "", "appId": "", "appName": "", "appType": -1, "appTypeName": "", "nodeTypeId": -1, "countersign": false, "actionId": "" }, "formulaMap": {}, "id": "64376702818a042e6c0f18ff", "type": 4, "triggerField": "", "triggerFields": [], "formProperties": [], "child": false, "batchType": -1, "passBatchType": -1, "overruleBatchType": -1, "auth": { "passTypeList": [], "overruleTypeList": [] }, "encrypt": false, "callBackType": -1, "nextId": "", "flowIds": [], "flows": [] }, "app": { "iconColor": "", "iconName": "", "id": null, "name": "", "entityName": "", "describe": null, "chargeId": null, "type": 0, "otherApkName": "", "otherApkId": "" }, "countersign": false, "countersignType": null, "signType": null, "condition": null, "multipleLevelType": 0, "multipleLevel": -1, "sort": 1, "assigned": true, "allowUrge": false, "urgeTime": null, "debugEventDump": null, "allowTaskRevokeBackNodeId": null, "explain": null, "explainMap": null } ], "currentWork": null, "currentWorkItem": { "workId": "69bce862a937e243ac9e9c44", "workItemId": "69bce862a937e243ac9e9c45", "type": 4, "workItemAccount": { "accountId": "d0e9f1d7-ed3d-4284-8d12-77c74313f208", "fullName": "大强", "avatar": "https://dn-mdpic.mingdao.com/UserAvatar/default9.png", "status": 1, "isOwner": null, "fullname": "大强" }, "receiveTime": "2026-03-20 14:25:38", "viewTime": "2026-03-20 14:25:56", "operationType": 0, "operationTime": null, "dueTime": null, "executeTime": null, "updateTime": null, "workItemLog": { "content": "已查看", "createDate": "2026-03-20 14:25:56", "action": 3, "actionTarget": null, "actionTargetName": null, "fields": [ { "id": "field_1", "name": "合同金额", "fromValue": "100", "toValue": "120" } ] }, "countersign": false, "countersignComplete": false, "opinion": "同意", "opinionType": 0, "signature": { "bucket": 1, "key": "signature/demo.png", "server": "https://file.example.com", "authType": 0 }, "logIds": [ "log_1" ], "principal": null, "administrator": null, "fileIds": [ "file_1" ], "files": [ { "attachmentType": 1, "fromType": 0, "fileID": "file_1", "sourceID": "source_1", "commentID": "", "docVersionID": "", "accountId": "d0e9f1d7-ed3d-4284-8d12-77c74313f208", "createUserName": "大强", "createUserAvatar": "https://dn-mdpic.mingdao.com/UserAvatar/default9.png", "originalFilename": "approval.pdf", "ext": "pdf", "filesize": 1024, "appID": "app_1", "createTime": "2026-03-20 14:25:56", "updateTime": "2026-03-20 14:25:56", "allowDown": "1", "fileRealPath": "/files/approval.pdf", "thumbnailName": "", "thumbnailPath": "", "middleName": "", "middlePath": "", "largeThumbnailName": "", "largeThumbnailPath": "", "filename": "approval.pdf", "filepath": "/files/approval.pdf", "privateDownloadUrl": "https://file.example.com/private/approval.pdf", "viewUrl": "https://file.example.com/view/approval.pdf", "previewUrl": "https://file.example.com/preview/approval.pdf", "downloadUrl": "https://file.example.com/download/approval.pdf" } ] }, "operationTypeList": [ [ 4, 5, 12 ] ], "operationUserRange": { "4": [ "user", "department" ] }, "opinionTemplate": { "inputType": 1, "opinions": { "pass": [ { "selected": true, "value": "同意" } ] } }, "title": "2", "ownerAccount": { "accountId": "owner_1", "fullName": "拥有者", "avatar": "https://dn-mdpic.mingdao.com/UserAvatar/default1.png", "status": 1, "isOwner": true, "fullname": "拥有者" }, "createAccount": { "accountId": "creator_1", "fullName": "创建者", "avatar": "https://dn-mdpic.mingdao.com/UserAvatar/default2.png", "status": 1, "isOwner": false, "fullname": "创建者" }, "createDate": "2026-03-20 14:20:00", "processName": "发起审批", "processId": "6437681a818a042e6c0f20a5", "parentId": "643766f9818a042e6c0f18a7", "isApproval": true, "flowNode": { "name": "审批节点", "desc": "当前审批节点", "alias": "approve_node", "appId": "", "appType": 1, "selectNodeId": "", "selectNodeObj": { "nodeId": "", "nodeName": "", "appId": "", "appName": "", "appType": -1, "appTypeName": "", "nodeTypeId": -1, "countersign": false, "actionId": "" }, "formulaMap": {}, "id": "node_1", "type": -1, "isCallBack": false, "signatureType": 0, "allowTransfer": false, "allowForward": false, "allowSign": false, "auth": { "passTypeList": [], "overruleTypeList": [] }, "encrypt": false, "allowUploadAttachment": true, "ignoreRequired": false }, "backFlowNodes": [], "callBackNodeType": null, "app": { "id": "apk_1", "name": "审批应用", "describe": "用于合同审批", "icon": "worksheet", "iconColor": "#4CAF50", "iconUrl": "https://dn-mdpic.mingdao.com/icon.png" }, "instanceType": 1, "btnMap": null, "status": 1, "currentWorkIds": [ "69bce862a937e243ac9e9c44" ], "signOperationType": null, "allowTaskRevokeBackNodeId": null, "printList": [], "disabledPrint": false, "recordTitle": null }}