Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Searches, approves, rejects and tracks Feishu approval tasks, instances and definitions, and initiates native approval instances.
Use this skill ↓1 of 22 test cases passed with the skill.
3 of 3 safety checks passed
Not used yet
对审批实例中的指定任务发起催办(用户级写操作)。通常先通过 tasks query 找到待办任务,拿到 instance_code 和要催办的 task_ids,必要时再用 instances get 查看详情,然后执行催办。
[!CAUTION] 这是 high-risk-write 写操作。建议先用
--dry-run预览;真正执行时,如果用户已明确要催办该审批且目标实例、目标任务都无误,再带--yes运行。不要在未获用户明确同意时静默追加--yes。
需要的 scopes: ["approval:instance:write"]
# 先预览请求,不实际执行
lark-cli approval tasks remind \
--data '{"instance_code":"<INSTANCE_CODE>","task_ids":["<TASK_ID>"],"comment":"请尽快处理"}' \
--as user \
--dry-run
# 催办单个审批任务
lark-cli approval tasks remind \
--data '{"instance_code":"<INSTANCE_CODE>","task_ids":["<TASK_ID>"],"comment":"请尽快审批该单据"}' \
--as user \
--yes
# 同一实例下催办多个任务
lark-cli approval tasks remind \
--data '{"instance_code":"<INSTANCE_CODE>","task_ids":["<TASK_ID_1>","<TASK_ID_2>"],"comment":"请相关审批人尽快处理"}' \
--as user \
--yes
# 通过文件传入请求体,适合较长 comment 或多个 task_ids
lark-cli approval tasks remind \
--data @./remind-body.json \
--as user \
--yes
Next to this one in the catalogue, plus more from the same author.