Skip to content
Proud to collaborate with Microsoft for Startups

ticket.software-delivery.transition ​

Append an ordered, idempotent delivery transition with typed blocker and safe-resume evidence.

Compare-and-swap one canonical delivery state transition.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-tickets
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuidstringYes——
delivery_uuidstringYes——
sequenceintegerYes——
idempotency_keystringYes——
expected_statestringYes——
target_statestringYes——
failure_classstringNo——
retryablebooleanNo——
failure_reasonstringNo——
safe_resume_statestringNo——
required_actionjsonNo——
actor_typestringNo——
actor_uuidstringNo——
datajsonNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
deliverydictNo——
transitiondictNo——
createdbooleanNo——
organization_uuidstringNo—Input field preserved in workflow state.
delivery_uuidstringNo—Input field preserved in workflow state.
sequenceintegerNo—Input field preserved in workflow state.
idempotency_keystringNo—Input field preserved in workflow state.
expected_statestringNo—Input field preserved in workflow state.
target_statestringNo—Input field preserved in workflow state.
failure_classstringNo—Input field preserved in workflow state.
retryablebooleanNo—Input field preserved in workflow state.
failure_reasonstringNo—Input field preserved in workflow state.
safe_resume_statestringNo—Input field preserved in workflow state.
required_actionjsonNo—Input field preserved in workflow state.
actor_typestringNo—Input field preserved in workflow state.
actor_uuidstringNo—Input field preserved in workflow state.
datajsonNo—Input field preserved in workflow state.
failed_atstringNo—ISO-8601 timestamp when action_fail recorded the failure
failure_typestringNo—Engine-stamped failure category
failed_actionstringNo—Engine-stamped action that raised
failed_at_statestringNo—Engine-stamped state when the workflow failed
failed_stepstringNo—Engine-stamped step name (DAG path)
failed_layerstringNo—Engine-stamped layer index (DAG path)
errorstringNo—Engine-stamped exception message
error_typestringNo—Engine-stamped exception class name

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—executeAccepted
executingNoNo—completeApplying the mutation
completedNoYesYes—Done
failedNoYesNo—Failed

State Diagram ​

Transitions ​

FromActionToDescription
initiatedexecuteexecutingRun the mutation
executingcompletecompletedFinalize
* (any state)failfailedCatch-all failure

API Usage ​

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

{
  "workflow_type": "ticket.software-delivery.transition",
  "initial_data": {
    "organization_uuid": "value",
    "delivery_uuid": "value",
    "sequence": 123,
    "idempotency_key": "value"
  }
}