> ## 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.

# ProgressTracker.Add

```go theme={"system"}
func (ProgressTracker) Add(ctx context.Context, n uint64) error
```

Add total work units to a progress indicator.

## Parameters

**ctx** `context.Context` *required*

The task execution context.

**n** `uint64` *required*

The number of total work units to add.

## Returns

An error if the context is not a task execution context.

```go Go theme={"system"}
progress := workflows.DefaultProgress()
err := progress.Add(ctx, 10)
```


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