capabilities.work

Assign Open Task

A 3-step recipe with ServiceNow. We can help you get access.

Recipe · 3 steps

Assign Open Task

Claim and start the oldest unassigned open task on a table.

  1. Query the table for the single oldest open, unassigned task, ordered by creation date ascending.
  2. Assign the matched task to the supplied user.
  3. Move the claimed task into the work-in-progress state.
What you'll need to have ready
  • tableName: The task-based table to triage (e.g. sc_task, change_task).
  • assignedTo: The sys_id of the user to assign the claimed task to.
  • workingState: The state value representing Work in Progress (e.g. "2").
For your developer

Arazzo workflow servicenow:assign-open-task, 3 operations: listRecords → patchRecord → patchRecord. Specs on APIs.io.