> For the complete documentation index, see [llms.txt](https://docs.portainer.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.portainer.io/sts/user/app-delivery/workflows/manage-a-workflow.md).

# Manage a workflow

{% hint style="info" %}
Managing a workflow is read-only for Community Edition.&#x20;
{% endhint %}

The workflow detail page gives you a live view of a workflow's health, the git sources and files it draws from, the stacks it manages, and the environments those stacks are deployed to.

To manage a GitOps workflow,  in the left-hand menu select **Workflows**, then click into the workflow you would like to manage.&#x20;

### Edit a workflow

{% hint style="info" %}
The edit button is currently disabled for Kubernetes stacks, where in-place editing is not yet available through the workflow view.
{% endhint %}

To edit a workflow, from the workflow details view, click **Edit.** This takes you to the deployed stack's edit page so you can modify its configuration directly.&#x20;

### Delete a workflow

To delete a workflow, from the workflow details view, click **Delete.** You will then be asked to choose what happens to the stacks and resources it has already deployed. Choose between the following:

**Detach (default):** \
Removes the workflow record from Portainer but leaves all deployed stacks and resources running exactly as they are, no longer linked to any GitOps workflow. Choose this when you want to take manual control of the resources without interrupting live workloads.

**Destroy:** \
Removes the workflow and deletes all resources it has deployed across every artifact and target environment. This cannot be undone. Choose this only when you want the deployed workloads permanently removed.

To confirm your selection, select **Detach** or **Destroy**.

<figure><img src="/files/vONOJgkVmGZt1X8HsfUb" alt=""><figcaption></figcaption></figure>
