Top-level shape
parameters and node outputs are referenced. See Node reference for the per-node data schemas.
Terminal output nodes
Every path through a workflow ends in anoutput node. The output carries:
- a label (
APPROVED,REJECTED,IN_REVIEW,REPORTED_TO_REGULATOR, …) — surfaces as the terminal state in the audit log. - a schema — explicit list of fields written into the final decision record.
- an optional
returnAllFieldsboolean — if true, the entire run context is persisted with the decision; otherwise only the declared schema fields.
returnAllFields: true is used for sub-flows that pass their entire context downstream and for audit-heavy terminals (KYB approvals, regulator submissions) that benefit from the full evidence pack on the decision. Otherwise prefer an explicit schema — the decision record stays compact and the audit export bundles read better.