WorkflowDocumentInfo
A single document slot inside an envelope. Carries the slot identifier (key) plus the workflow-runtime payload supplied at create time and editable during workflow review (fieldOverrides, adhocFields, inputMap). Template-derived metadata (template identity, template fields, inputs, roles, file pointer) is not included here — fetch the source template directly via GET /templates/{key}?version={version} if you need it.
- adhocType: array object[]
Fields requiredAd-hoc fields added beyond the template's declared schema. Initially supplied at workflow create time (
POST /workflows→documents[].adhocFields); can be modified during workflow review while the workflow ispending. The only place to discover non-template fields on a workflow document.Empty object - fieldType: array object[]
Overrides requiredPer-document field overrides — values that override the template's defaults at render time. Initially supplied at workflow create time (
POST /workflows→documents[].fieldOverrides); can be modified during workflow review while the workflow ispending.Empty object - inputType: array object[]
Map requiredWires this document's underlying template inputs to the workflow's blueprint inputs — same shape as the blueprint's
documents[].inputMapit was derived from. Each entry says "feedblueprintInputKeyfrom the running workflow intotemplateInputKeyon this template." Defaults come from the blueprint at workflow create time and can be modified during workflow review while the workflow ispending.- blueprintType: string
Input Key Input key declared on the workflow's blueprint that supplies the data — matches an entity key in the workflow's entity set.
- templateType: string
Input Key Input key declared on the document's underlying template — matches one of the source template's
inputs[].key.
- keyType: stringrequired
Document key, matching the document declared on the workflow's blueprint envelope. For iterator-expanded documents, suffixed with the iterator index.
