Skip to content
Proud to collaborate with Microsoft for Startups

spad.compensation.noop ​

Record an intentionally empty compensation action for a SPAD DAG layer

Record that a DAG layer has no executable compensation action

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-spad
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
compensation_reasonstringNo—Why this DAG layer has no executable compensation step
workflow_run_uuidstringNo—Parent workflow run ID stamped by the DAG engine
workflow_run_idstringNo—Parent workflow run ID stamped by the DAG engine

Output Schema ​

FieldTypeRequiredDefaultDescription
compensation_reasonstringNo——
workflow_run_uuidstringNo——
compensatedbooleanYes——
skippedbooleanYes——
completed_atstringNo——
failed_atstringNo——
failure_reasonstringNo——
workflow_run_idstringNo—Parent workflow run ID stamped by the DAG engine
errorstringNo—Engine-stamped failure metadata
error_typestringNo—Engine-stamped failure metadata
failed_at_statejsonNo—Engine-stamped failure metadata
failed_layerjsonNo—Engine-stamped failure metadata
failed_stepjsonNo—Engine-stamped failure metadata

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—run—
runNoNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
initiatedrunrun—
runcompletecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "spad.compensation.noop",
  "initial_data": {
    "compensation_reason": "value",
    "workflow_run_uuid": "value",
    "workflow_run_id": "value"
  }
}