审批任务状态变更
1.
2.
3.
4.
5.
6.
7.
{
"ts": "1502199207.7171419",
"uuid": "bc447199585340d1f3728d26b1c0297a",
"token": "41a9425ea7df4536a7623e38fa321bae",
"type": "event_callback",
"event": {
"app_id": "cli_xxx",
"open_id": "ou_123456",
"tenant_key":"xxx",
"type": "approval_task",
"approval_code": "7C468A54-8745-2245-9675-08B7C63E7A85",
"instance_code": "81D31358-93AF-92D6-7425-01A5D67C4E71",
"task_id": "12345",
"user_id": "b613t51g",
"status": "PENDING",
"operate_time": "1502199207000",
"custom_key": "xxx",
"def_key": "xxx",
"extra":"{\"rollback_node_ids\":[\"nodeid\"],\"rollback_custom_node_ids\":[\"customnodeid\"]}"
}
}
字段 | 类型 | 描述 |
---|---|---|
type | string | approval_task 固定字段 |
approval_code | string | 审批定义 Code |
instance_code | string | 审批实例 Code |
task_id | string | 审批任务 ID |
user_id | string | 操作人 ID(当 task 为自动通过类型时,user_id 为空) |
status | string | 任务状态 REVERTED - 已还原 PENDING - 进行中 APPROVED - 已通过 REJECTED - 已拒绝 TRANSFERRED - 已转交 ROLLBACK - 已退回 DONE - 已完成 |
operate_time | string | 事件发生时间 |
extra | string | 扩展数据, 当前只有退回事件才有此字段,rollback_node_ids退回的节点列表,rollback_custom_node_ids用户自定义配置的节点列表 |
custom_key | string | 节点自定义ID |
def_key | string | 节点系统生成唯一ID |
修改于 2023-02-02 04:18:51