> ## Documentation Index
> Fetch the complete documentation index at: https://docs-old.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

**identifier** `TaskIdentifier`

The identifier of the registered task.

## Returns

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

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

task, found := runner.GetRegisteredTask(
    identifier,
)
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.