capabilities.work

Assign Task to Worker

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

Recipe · 3 steps

Assign Task to Worker

with Onfleet · Last-Mile Delivery Operations Management

Create a task, assign it to a worker, and confirm the worker holds it.

  1. Create the dropoff task that will be assigned to the worker.
  2. Set the worker's container task list to include the new task.
  3. List the worker's assigned tasks to confirm the assignment took effect.
What you'll need to have ready
  • workerId: The worker id to assign the task to.
  • unparsedAddress: A single-line street address Onfleet will geocode.
  • completeBefore: Latest completion time in Unix milliseconds.
  • taskNotes: Optional notes shown to the assigned worker.
For your developer

Arazzo workflow onfleet:assign-task-to-worker, 3 operations: createTask → assignTasksToWorker → listWorkerAssignedTasks. Specs on APIs.io.