> For the complete documentation index, see [llms.txt](https://docs.digit.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digit.org/health/v2.1/deploy/configuration/hcm-console-configuration/console-ui-configuration/campaign-setup/my-campaign/campaign-timeline.md).

# Campaign Timeline

## Overview

The **Campaign Timeline** provides a visual view of a campaign’s progress across its lifecycle. It helps users track creation stages and understand the current state of a campaign.

The timeline is available for campaigns in the following states:

* **Upcoming**
* **Ongoing**
* **Completed**
* **Failed**

Users can access the timeline from:

* The **Campaign Summary** page
* The **My Campaign** screen (via the Actions menu)

## Steps

### Step 1: Enable Timeline Access

#### Access Points

1. **Campaign Summary**
   * The timeline is displayed directly on the summary page.
2. **My Campaign Screen**
   * Users click the **Action** button for a campaign.
   * The timeline opens as a **pop-up modal**.

<figure><img src="https://content.gitbook.com/content/I0KFbSBTySIQ7TCOKnJF/blobs/G8Blocnj5t4nNJt8a03Y/image.png" alt=""><figcaption><p>Timeline In summary page</p></figcaption></figure>

### Step 2: Render Timeline Stages

**Purpose:** Show campaign progress visually.

#### Timeline States

The timeline displays campaign stages as:

* **Upcoming** – Steps that are yet to start
* **Current** – The step currently in progress
* **Completed** – Steps that have finished successfully

These states update dynamically based on campaign status.

<figure><img src="https://content.gitbook.com/content/I0KFbSBTySIQ7TCOKnJF/blobs/EqeMVTQR51dBIuA07zBS/image.png" alt=""><figcaption></figcaption></figure>

### Step 3: Display Timeline During Campaign Creation

**Behaviour**

* While campaign creation is in progress:
  * The timeline shows:
    * Completed steps
    * The current step
    * Upcoming steps
* This view is consistent across:
  * Summary screen
  * My Campaign timeline pop-up

<figure><img src="https://content.gitbook.com/content/I0KFbSBTySIQ7TCOKnJF/blobs/INMmDWxK1UsflrcF1jLd/image.png" alt=""><figcaption><p>Timeline in my campaign</p></figcaption></figure>

### Step 4: Configure Timeline Pop-up from My Campaign

**Behaviour**

* Clicking **Action → View Timeline** (or equivalent option):
  * Opens the timeline as a pop-up
  * Displays the same step progression as the summary screen
* User credentials become available once campaign creation completes successfully.

## Reference Links

* [Timeline Component File Link](https://github.com/egovernments/DIGIT-Frontend/blob/campaign/micro-ui/web/micro-ui-internals/packages/modules/campaign-manager/src/components/TimelineComponent.js)

#### API Details

<table><thead><tr><th width="244.2890625">End point</th><th width="139.51953125">Method</th><th>Params</th></tr></thead><tbody><tr><td>/project-factory/v1/project-type/getProcessTrack</td><td>POST</td><td>params: { <br>campaignId: campaignId,<br> },</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.digit.org/health/v2.1/deploy/configuration/hcm-console-configuration/console-ui-configuration/campaign-setup/my-campaign/campaign-timeline.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
