> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tilebox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# TaskRunner.GetRegisteredTask

```go theme={"system"}
func (*TaskRunner) GetRegisteredTask(
  identifier workflows.TaskIdentifier,
) (workflows.ExecutableTask, bool)
```

Get the task with the given identifier.

## Parameters

<ParamField path="identifier" type="TaskIdentifier">
  A display name for the cluster
</ParamField>

## Returns

The registered task. Returns `false` if not found.

<RequestExample>
  ```go Go theme={"system"}
  identifier := workflows.NewTaskIdentifier("my-task", "v1.0")

  task, found := runner.GetRegisteredTask(
      identifier,
  )
  ```
</RequestExample>
