> For the complete documentation index, see [llms.txt](https://kb.stoque.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.stoque.com.br/zeev/como-construir-processos/como-modificar-aplicativos-apos-o-uso/como-excluir-elementos-do-desenho-apos-uso.md). Agents can also search and read this documentation through its [MCP server](https://kb.stoque.com.br/~gitbook/mcp).

# Como excluir elementos do desenho após uso

## Visã geral

Ao excluir um elemento do desenho do processo, **caso existam** [**solicitações de teste**](https://kb.stoque.com.br/zeev/como-construir-processos/como-validar-aplicativos-antes-de-publica-los/como-simular-a-execucao-de-processo.md) **em andamento**, essas serão automaticamente excluídas, para você e para todas as pessoas que estiverem testando o aplicativo. Isso ocorre pois a exclusão gera a reinicialização de todas as regras do processo.

Ao excluir um elemento do desenho do processo, **caso existam solicitações reais em andamento ou já concluídas**, a operação de exclusão será abortada.&#x20;

<mark style="color:red;">Não é possível excluir elementos de um aplicativo que possui um histórico real de execuções, devido a questões de auditoria e controle do aplicativo.  Mesmo que o elemento tenha sido inserido acidentalmente, e ele próprio não tenha histórico de atualizações.</mark>&#x20;

Nesse cenário, você tem as seguintes opções:

* [Criar uma nova versão](https://kb.stoque.com.br/zeev/como-construir-processos/como-modificar-aplicativos-apos-o-uso/como-versionar-um-processo.md) do aplicativo;
* [Realizar uma cópia](https://kb.stoque.com.br/zeev/como-construir-processos/como-modificar-aplicativos-apos-o-uso/como-criar-uma-copia-de-um-processo.md) do aplicativo;
* **Retirar o elemento do fluxo de execução do aplicativo;**

Em relação a essa última opção, ela consiste em desligar as conexões de entrada e saída do elemento e movê-lo para fora do fluxo normal de execução do aplicativo, como na figura abaixo.&#x20;

![Situação inicial](https://3371003943-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MD66pBdRalAQgnhNstG%2Fuploads%2F2RSjCnuYrlV8deeImu2L%2Fimage.png?alt=media\&token=2d8fa818-0bf3-4f2b-82b2-9d72610df4fa)

![Situação final](https://3371003943-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MD66pBdRalAQgnhNstG%2Fuploads%2F2C6jK3ZcyDHB2rDFPT10%2Fimage.png?alt=media\&token=76f73e38-1c27-4066-816e-828aa145198e)

O que acontece nesse cenário é que a tarefa B continuará existindo para fins de histórico, mas não será utilizada em novas execuções.


---

# 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://kb.stoque.com.br/zeev/como-construir-processos/como-modificar-aplicativos-apos-o-uso/como-excluir-elementos-do-desenho-apos-uso.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.
