fusion_act_on_task
Act on a task by submitting a decision: approve, reject, or use a task-specific outcome. Confirmation required before the decision is sent.
Instructions
Approve, reject or otherwise decide a task. THIS DECIDES SOMETHING.
outcome must be one of the values fusion_task_detail reported for this
task -- they differ per task and per user, so never assume APPROVE exists.
The value is checked against the live task before anything is sent.
There is no replay guard here and none is pretended: an approved task is no longer ASSIGNED, so a second attempt fails at the service rather than approving twice. That is the one place in this server where the pod's own state is the duplicate protection.
Args:
number: Task number.
outcome: The outcome id, e.g. APPROVE, REJECT, OK.
comment: Optional comment recorded with the decision.
confirmed: Set True only after explicit user confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | ||
| comment | No | ||
| outcome | Yes | ||
| confirmed | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||