Process: Get next item

Get the next available item from a work queue.

Help Centre › Orchestration

Get the next available item from a work queue.

Add it to a process

In the process designer, open the Add step tab. Find Get next item under Process › Queue, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
Queue IDYesID of the work queue to pull from
VariableYesName of the variable where the result will be stored Default: queue_item.

What it gives back

  • {queue_item}
  • {queue_item_id}
  • {queue_specific_content}

See all Process steps.

Tips

  • Use this in a loop: get next item, process it, mark complete or failed, repeat until null
  • Multiple bots can safely call this on the same queue – each bot gets a different item
  • Access the item’s data via {variable.specificContent.fieldName}
  • Check if the variable is null/empty to know when to stop the loop

Related functions

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.