Skip to content
Proud to collaborate with Microsoft for Startups

queue.requeue ​

Return a claimed or running queue item to the queue without consuming an attempt. For leases genuinely lost rather than work that failed.

Return an item to the queue without consuming its attempt budget.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-queue
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuidstringYes——
item_uuidstringYes——
delay_secondsintegerNo——

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.requeue",
  "initial_data": {
    "organization_uuid": "value",
    "item_uuid": "value"
  }
}