Skip to content
Proud to collaborate with Microsoft for Startups

queue.mark-running ​

Record the run uuid of the workflow launched for a claimed queue item.

Attach the launched run to a claimed item (claimed -> running).

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-queue
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuidstringYes——
item_uuidstringYes——
run_uuidstringYes——

Output Schema ​

FieldTypeRequiredDefaultDescription
itemjsonNo——
item_uuidstringNo——
statusstringNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_layerstringNo——
failed_stepstringNo——
errorstringNo——
error_typestringNo——
reasonstringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—executeAccepted
completedNoYesYes—Completed
failedNoYesNo—Failed

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompletedRun the queue operation
* (any state)failfailedMark failed

API Usage ​

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

{
  "workflow_type": "queue.mark-running",
  "initial_data": {
    "organization_uuid": "value",
    "item_uuid": "value",
    "run_uuid": "value"
  }
}