Skip to content
Proud to collaborate with Microsoft for Startups

queue.nack ​

Record a failed attempt for a queue item. Requeues with backoff until the attempt budget is exhausted, then fails terminally.

Fail an attempt: requeue with backoff, or fail terminally when spent.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-queue
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuidstringYes——
item_uuidstringYes——
errorstringNo——
retry_after_secondsintegerNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
itemjsonNo——
item_uuidstringNo——
statusstringNo——
failure_reasonstringNo——
attemptsintegerNo——
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.nack",
  "initial_data": {
    "organization_uuid": "value",
    "item_uuid": "value"
  }
}