待办任务处理变更
事件描述
待办任务在待办中心侧被处理时触发
订阅说明
| 事件主体 | kso.todo_task |
|---|---|
| 回调地址 | 请先在开发者后台-事件订阅模块配置地址 |
| 支持应用类型 | 企业自建应用、第三方企业应用 |
| 权限要求 | 无 |
| 解密方式 | 详见 解密算法 |
事件体(解密前)
| 名称 | 类型 | 说明 |
|---|---|---|
| topic | string | 消息主题(值为"kso.todo_task") |
| operation | string | 消息变更动作(update-更新) |
| time | integer | 时间(秒为单位的时间戳) |
| nonce | string | iv 向量(解密时使用) |
| signature | string | 消息签名 |
| encrypted_data | string | 消息变更的加密字段 |
事件体示例(解密前)
json
{
"topic": "kso.todo_task",
"operation": "update",
"nonce": "xxxxxx",
"signature": "xxxxxxxxxxxx",
"time": 0, // 秒为单位的时间戳
"encrypted_data": "xxxxxx"
}事件体(解密后)
| 名称 | 类型 | 说明 |
|---|---|---|
| task_id | string | 待办任务 id |
| action_key | string | 待办操作 key |
| reason | string | 待办处理说明(用户操作时填写) |
| company_id | string | 公司id |
| app_id | string | 应用id |
事件体示例(解密后)
json
data: {
"task_id": "string", // 待办任务id
"action_key": "string", // 待办操作key
"reason": "string", // 待办处理说明(用户操作时填写)
"company_id": "1",
"app_id": "workflow"
}