Skip to content
Proud to collaborate with Microsoft for Startups

data.appdata.document.confirm ​

Confirm a pending end-user document upload and mark it active (shared storage plane; an app served from its own instance reads and writes through the Data API instead)

Confirm a pending upload, flip status pending -> active.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-appdata
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—Authenticated organization UUID
identity_app_uuiduuidNo—(server-resolved principal from the end-user token; input ignored unless it agrees)
end_user_uuiduuidNo—(server-resolved principal from the end-user token; input ignored unless it agrees)
request_idstringNo—Caller request id for audit correlation
actorstringNo—Workflow caller or agent identifier
document_uuiduuidYes—Document UUID
sizeintegerNo—Uploaded object size in bytes
checksumstringNo—Uploaded object checksum

Output Schema ​

FieldTypeRequiredDefaultDescription
document_uuiduuidYes—Document UUID
statusstringYes—Document status ('active')
sizeintegerNo—Recorded object size in bytes
checksumstringNo—Recorded object checksum
confirmed_atstringNo—ISO-8601 confirm timestamp
foundbooleanYes—False when no pending document was found
failure_reasonstringNo—Engine-stamped failure reason
failed_at_statestringNo—State when the workflow failed
failed_stepstringNo—Failed DAG step name
failed_layerintegerNo—Failed DAG layer index
errorstringNo—Engine-stamped exception message
error_typestringNo—Engine-stamped exception class name

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—completeConfirm upload
completedNoYesYes—Confirmed
failedNoYesNo—Confirm failed

State Diagram ​

Transitions ​

FromActionToDescription
pendingcompletecompleted—
pendingfailfailed—

Outcomes ​

OutcomeTypeDescriptionState Data Keys
confirmedSUCCESSConfirm a pending end-user document upload and mark it active (shared storage plane; an app served from its own instance reads and writes through the Data API instead)document_uuid
failedFAILUREAppdata workflow failedfailure_reason

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "data.appdata.document.confirm",
  "initial_data": {
    "organization_uuid": "value",
    "document_uuid": "value"
  }
}