Skip to content
โ—‡ AirawatOS Developer
๐Ÿšง Under development โ€” this portal is being built track by track. Content will keep growing, and some sections are still placeholders.

Reference

โ† Schema catalogue

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.

FieldTypeRequiredDescription
schemaโ€”โœ“
idstringโœ“
casestringโœ“resolvable ref to the parent platform.case โ€” a task is always in a case
verbstringโœ“the action to perform โ€” review | approve | decide | verify | correct | fulfil
titlestringโœ“
subjectsarray<string>resolvable refs to the object(s) the action acts on
assigneestringwho must act โ€” user://<tenant>/<sub> or role://<tenant>/<role>
workflow_stepstringthe workflow step this task realizes
decision_kindstringfor a decision verb: a binary approve/reject of the subject(s), or select-one-of the recommendations
optionsarray<string>for decision_kind=select: resolvable refs to the governance.recommendation objects to choose from
actionsarray<string>allowed action outcomes (approve, reject, โ€ฆ) โ€” the buttons the inbox renders
statusstringโœ“blocked = waiting on a prerequisite step (workflow interpreter); open = actionable
orderstringresolvable ref to the governance.order this task fulfils (SOP tasks)
depends_onarray<string>step_ids this task waits for โ€” copied from the workflow step's `after`; the engine unblocks when all are done
decisionstringresolvable ref to the governance.decision produced when the task is done
created_atstring
done_atstring
tenantstring