Reference
platform.task
domain: platform
A TASK โ an action to perform on object(s), owned by a case. Every task is (verb ร subject object(s) ร assignee) and belongs to exactly one case. A task whose verb is a decision presents recommendation objects to choose from, or an approve/reject (see governance.recommendation / governance.decision). The inbox item points at the task; the task points at its case.
| Field | Type | Required | Description |
|---|---|---|---|
schema | โ | โ | |
id | string | โ | |
case | string | โ | resolvable ref to the parent platform.case โ a task is always in a case |
verb | string | โ | the action to perform โ review | approve | decide | verify | correct | fulfil |
title | string | โ | |
subjects | array<string> | resolvable refs to the object(s) the action acts on | |
assignee | string | who must act โ user://<tenant>/<sub> or role://<tenant>/<role> | |
workflow_step | string | the workflow step this task realizes | |
decision_kind | string | for a decision verb: a binary approve/reject of the subject(s), or select-one-of the recommendations | |
options | array<string> | for decision_kind=select: resolvable refs to the governance.recommendation objects to choose from | |
actions | array<string> | allowed action outcomes (approve, reject, โฆ) โ the buttons the inbox renders | |
status | string | โ | blocked = waiting on a prerequisite step (workflow interpreter); open = actionable |
order | string | resolvable ref to the governance.order this task fulfils (SOP tasks) | |
depends_on | array<string> | step_ids this task waits for โ copied from the workflow step's `after`; the engine unblocks when all are done | |
decision | string | resolvable ref to the governance.decision produced when the task is done | |
created_at | string | ||
done_at | string | ||
tenant | string |