latestOpenAPI 3.1.02026-08-171503582.2 MB

6199a9464227

Tasks

Get a task

Returns a task in a workflow run by its ID.

get/workflow-runs/{workflowRunId}/tasks/{taskId}

Path parameters

workflowRunIdstring required

The ID of the Workflow Run

taskIdstring required

The ID of the Task

Response

idstring required

The ID of the Task

updatedDatestring date-time required

When the resource was last modified. ISO-8601 UTC.

completedDatestring date-time
workflowRunIdstring required

The ID of the Workflow Run

status'NotCompleted' | 'Completed' required
dueDatestring date-time

Due date. ISO-8601 UTC.

namestring required

Display name.

hiddenboolean required

Whether the task is hidden by Conditional Logic.

stoppedboolean required

Whether the task is blocked (stopped) by an incomplete prior stop task.

Example response

{
  "id": "rFILzxY-49p_97WSn85LQw",
  "updatedBy": {
    "id": "naAJxoDIuwdgNsQHGRRGqA",
    "email": "jane.doe@example.com",
    "username": "Jane Doe"
  },
  "completedBy": {
    "id": "naAJxoDIuwdgNsQHGRRGqA",
    "email": "jane.doe@example.com",
    "username": "Jane Doe"
  },
  "workflowRunId": "rFILzxY-49p_97WSn85LQw",
  "links": [
    {
      "href": "https://api.process.st/api/v1.1/resource/XXX"
    }
  ]
}