---
title: "workflows.DefaultProgress"
description: "Return the default progress tracker for the currently executing task."
image: "https://tilebox.com/images/tilebox-docs-social-preview.png"
---

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

# workflows.DefaultProgress

import { Fragment } from "astro/jsx-runtime";

import ApiReference from "@docs/components/ApiReference.astro";

```go
func DefaultProgress() workflows.ProgressTracker
```

Return the default progress tracker for the currently executing task.

Use the returned tracker to update total and completed work units inside a task `Execute` method.

## Returns

A progress tracker for the default progress indicator.

<h2 id="request-example">Usage example</h2>

```go
progress := workflows.DefaultProgress()
if err := progress.Add(ctx, 10); err != nil {
    return err
}
if err := progress.Done(ctx, 1); err != nil {
    return err
}
```

Source: https://tilebox.com/docs/api-reference/go/workflows/DefaultProgress/index.mdx
