---
title: "GET /workflows/{workflowId}/tasks/{id}"
method: GET
path: "/workflows/{workflowId}/tasks/{id}"
tags: ["workflows"]
---

# GET /workflows/{workflowId}/tasks/{id}

`GET /workflows/{workflowId}/tasks/{id}`

**Required scope:** automation:workflows:read

## Path parameters

- `id` string, required
- `workflowId` string, uuid, required

## Query parameters

- `adminAccess` boolean

## Response `200`

- Task
  - `name` string
  - `action` string
  - `workflow` string
  - `description` string
  - `input` object
  - `active` union — Specifies whether a task should be skipped as a no operation or not.
    - boolean
    - string
  - `position` TaskPosition
    - `x` integer, required
    - `y` integer, required
  - `predecessors` string[]
  - `conditions` TaskConditionOption
    - `states` object
    - `custom` string
    - `else` 'SKIP' | 'STOP'
  - `withItems` string
  - `concurrency` union
    - string
    - integer
  - `retry` TaskRetryOption
    - `count` union, required — Specifies a maximum number of times that a task can be repeated in case it fails on execution.
      - string
      - integer
    - `delay` union — Specifies a delay in seconds between subsequent task retries
      - string
      - integer
    - `failedLoopIterationsOnly` boolean — Specifies whether retrying the failed iterations or the whole loop. Default: True.
  - `timeout` union — Specifies a default task timeout. 15 * 60 (15min) is used when not set.
    - string
    - integer

## Other responses

- `4XX`

---

[API](https://skmtc.net/dynatrace/apis/automation.md) · [All operations](https://skmtc.net/dynatrace/apis/automation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dynatrace/automation/versions/0fe23f9b256b/schema)
