Skip to content
Proud to collaborate with Microsoft for Startups

appdata.instance.restore ​

Restore a dump from this app's instance onto a different app instance in the same organization; the source stays up

Restore a named dump onto another app's instance in the same org.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-appdata
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—Authenticated organization UUID
identity_app_uuiduuidYes—Identity app the credential reads; must own an appdata namespace in this organization
request_idstringNo—Caller request id for audit correlation
actorstringNo——
target_identity_app_uuiduuidYes—App whose instance receives the dump; must differ from identity_app_uuid
backup_namestringYes——

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
identity_app_uuiduuidYes——
backend_kindstringNo——
restoredbooleanNo——
backup_namestringNo——
source_identity_app_uuiduuidNo——
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—completeRestore credential
completedNoYesYes—Credential restored
failedNoYesNo—Restore failed

State Diagram ​

Transitions ​

FromActionToDescription
pendingcompletecompleted—
pendingfailfailed—

Outcomes ​

OutcomeTypeDescriptionState Data Keys
restoredSUCCESSRestore a dump from this app's instance onto a different app instance in the same organization; the source stays uprestored, backup_name
failedFAILUREAppdata workflow failedfailure_reason

API Usage ​

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

{
  "workflow_type": "appdata.instance.restore",
  "initial_data": {
    "organization_uuid": "value",
    "identity_app_uuid": "value",
    "target_identity_app_uuid": "value",
    "backup_name": "value"
  }
}