# Creating a Universal Dynamic Progress Step Collection

## Overview

This guide shows you how to create a dynamic Progress Step collection with all your [Avonni Progress Indicators](https://docs.avonnicomponents.com/flow/flow-components/progress-indicator). This method saves time and reduces errors by letting you manage your step names in one place. Any updates made to this central collection will automatically reflect across all connected Progress Indicators

## Guided Steps

### 1️⃣ Create the Progress Step Collection to define global steps that can be used across your screen elements.

This step illustrates how to utilize the Avonni Action Progress Step collection to establish universal steps that can be implemented wherever a progress indicator is used.

{% @arcade/embed flowId="8gaTgvNoFpozdHcch0x9" url="<https://app.arcade.software/share/8gaTgvNoFpozdHcch0x9>" %}

### 2️⃣ Define the global Step collection&#x20;

Create a central collection of steps for your Avonni Progress Indicators. This ensures consistency and saves time – you'll define your steps once, and they'll automatically be used in all Progress Indicators linked to this collection. Updates to the global collection will instantly change any connected indicators. You can also include universal sub-steps and actions for even greater efficiency.

{% @arcade/embed flowId="gWIVGiXZVEK5EY0Zt7Du" url="<https://app.arcade.software/share/gWIVGiXZVEK5EY0Zt7Du>" %}

### 3️⃣ Configure the Output variable

You must manually create an output variable to apply the universal steps correctly. This is crucial, as it makes our Avonni action for the progress indicator step collection available for selection in the Variable Data source menu within the Progress Indicator Properties panel.

Ensure that you select the '**Allow multiple values (collection)**' checkbox and choose the correct Apex Class: '**avcmpbuilder\_ProgressIndicatorStep**'.

{% @arcade/embed flowId="o1gZMOrYg5N8QDSle7bT" url="<https://app.arcade.software/share/o1gZMOrYg5N8QDSle7bT>" %}

### 4️⃣ Employ this universal variable as the principal step collection when utilizing the Progress Indicator Component

In this step, we select the previously created output variable and assign it as a step collection variable. You can repeat this process whenever you need to apply those specific values to multiple progress indicator components throughout your screen flow.

{% @arcade/embed flowId="yxYsmDBx7fNIh3KTaAKA" url="<https://app.arcade.software/share/yxYsmDBx7fNIh3KTaAKA>" %}

## Conclusion

This tutorial taught you how to create and use a single, dynamic Progress Step collection for all your Avonni Progress Indicators. This approach improves consistency, saves you time, and reduces potential errors.

**Key Takeaways:**

* **Centralized Step Management:** Create a global collection to define steps and sub-steps in one place.
* **Automatic Updates:** Changes to this collection instantly update all connected Progress Indicators.
* **Output Variable Configuration:** Ensure your progress indicators display correctly by setting the output variable.
* **Universal Application:** Use this collection across multiple screens for a streamlined and consistent user experience


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.avonnicomponents.com/flow/tutorials/components/progress-indicator/creating-a-universal-dynamic-progress-step-collection.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
