# ProgressTracker.Add

```go
func (ProgressTracker) Add(ctx context.Context, n uint64) error
```

Add total work units to a progress indicator.

## Parameters

**ctx**

`context.Context`

required: true

The task execution context.

**n**

`uint64`

required: true

The number of total work units to add.

## Returns

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

```go title="Go"
progress := workflows.DefaultProgress()
err := progress.Add(ctx, 10)
```
