> For the complete documentation index, see [llms.txt](https://docs.flosum.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flosum.com/devops/pipeline/configuring-pipeline-steps/editing-a-pipeline-step.md).

# Editing a Pipeline Step

{% hint style="warning" %}

#### Written for the Old UI

This article was written for the old UI. The instructions are still usable, but the screenshots are outdated. In some cases, items referenced in the instructions have moved or changed. If you cannot find an item, see the [Where Did It Go](/devops/new-ui-ux-transition/where-did-it-go.md) article.
{% endhint %}

## ![](https://1800549522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2FG5ZbxX918xOHwbAwAJ4n%2FSummary2-Small-Icon.svg?alt=media\&token=da26a67f-ff7f-47b3-8669-06be960dc2d7) Overview

You can edit any field in a pipeline step, including **Name** and **Operation**. Editing a step lets you make minor or major changes to your pipeline without rebuilding it. This article gives you general instructions for editing a step. For instructions on editing the fields for a specific operation, see the article for that operation.

* [Pipeline Operation: Validate](/devops/pipeline/pipeline-operations/pipeline-operation-validate.md)
* [Pipeline Operation: Code Scan](/devops/pipeline/pipeline-operations/pipeline-operation-code-scan.md)

## Edit Validate Step

{% stepper %}
{% step %}

### Edit a Step

1. Click the step to edit.

   <div align="left"><figure><img src="https://1800549522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2FnYX0VfXGdjbDEJEMYVuR%2FPipelineOperation-Validate-Edit-S01-01.png?alt=media&amp;token=598fee4d-4288-42a1-be7e-fc0b8cceef26" alt="" width="375"><figcaption></figcaption></figure></div>
2. Click **Edit**.

   <div align="left"><figure><img src="https://1800549522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2Fj2lpYeqLb3zt7gxeLbET%2FPipelineOperation-Validate-Edit-S01-02.png?alt=media&amp;token=2d7b30ab-28f4-428b-96e9-0ec669d5166c" alt="" width="375"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### Change Values

Every field of a step can be edited, including the **Name** and **Operation**. For details on changing each field, see the article on the corresponding operation you are editing.

* [Pipeline Operation: Validate](/devops/pipeline/pipeline-operations/pipeline-operation-validate.md)
* [Pipeline Operation: Code Scan](/devops/pipeline/pipeline-operations/pipeline-operation-code-scan.md)

1. Change any of the step's fields.

   <div align="left"><figure><img src="https://1800549522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2FhynBo1Volat7ubgoBBGQ%2FPipelineOperation-Validate-Edit-S02-01.png?alt=media&amp;token=5926b9ad-dea0-48d9-b4fe-debae64feeb2" alt="" width="375"><figcaption></figcaption></figure></div>

If you are changing the **Next Step** section, see the following warning and review the [Adding a Pipeline Step](/devops/pipeline/configuring-pipeline-steps/adding-a-pipeline-step.md) article.

{% hint style="warning" %}

#### Step Removal Warning

If a step has no paths to it, it will be automatically removed from the pipeline. This can occur, for example, if you insert a **Validate** step before a **Deploy** step and set both **On pass** and **On fail** to **Stop**. In this scenario, there is no longer a path to reach the **Deploy** step, and the pipeline automatically removes orphaned steps. See the diagram below to help visualize the issue. &#x20;
{% endhint %}

<div align="left"><figure><img src="https://1800549522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2FszUYosNNH5oZLpG9zvWY%2FFlosumPipelineNextStepExample-02.png?alt=media&amp;token=2947b39d-620c-44b3-a051-73c3d29c2d56" alt="" width="563"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### Save Changes

1. Click **Save**.

   <div align="left"><figure><img src="https://1800549522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2FLz629RTeVqMWaC3l7WNl%2FPipelineOperation-Validate-Edit-S03-01.png?alt=media&amp;token=4a4f30ab-4acf-433f-a016-5c6ac6da7a30" alt="" width="375"><figcaption></figcaption></figure></div>

{% endstep %}
{% endstepper %}


---

# 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.flosum.com/devops/pipeline/configuring-pipeline-steps/editing-a-pipeline-step.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.
