# Deleting elements

To delete a business application item, find it in the appropriate tab, and then select the option from the context menu (kebab menu) **Delete**.

{% hint style="info" %}
It is possible to delete only the entire artifact, not its individual versions.
{% endhint %}

<figure><img src="/files/2a28afa7d808f0af8ccb9397741c8bc2ad36f23e" alt=""><figcaption><p align="center"><em><strong>Figure 1.</strong> Context menu for a composite component</em></p></figcaption></figure>

{% hint style="warning" %}
The artifact being deleted cannot be used by another artifact. An attempt to delete such an artifact will be aborted, and the user will be informed about the dependencies preventing deletion.
{% endhint %}

{% hint style="info" %}
During deletion, the artifact cannot have a draft version. An attempt to delete such an artifact will be aborted, and the user will be informed with an appropriate error message.<br>
{% endhint %}

#### Artifacts that can be deleted <a href="#usuwanieartefaktowifolderow-artefaktymozliwedousuniecia" id="usuwanieartefaktowifolderow-artefaktymozliwedousuniecia"></a>

* Forms
* Processes
* Composite components
* Contents
* Scripts
* Script validators
* Script tasks
* Emails
* Dictionaries
* Formatters
* Custom components
* Printouts

Information about the deletion of the artifact is recorded in the logs as follows *("artifact1"* and *"22100"* here indicating an example name and an example identifier of the deleted artifact):

{% code overflow="wrap" %}

```
[designer] 2017-02-20 09:06:06,413 CET [main] [INFO ] p.c.i.g.t.t.v.c.a.remove.ArtifactTrashCommand     :32 - > Removing artifact [name=artifact1, id=22100][designer] 2017-02-20 09:06:06,489 CET [main] [INFO ] p.c.i.g.t.t.v.c.a.remove.ArtifactTrashCommand     :34 - < Artifact [name=artifact1, id=22100] removed successfully
```

{% endcode %}

{% hint style="warning" %}
**Safe deletion**

Deleted artifacts and folders can be safely restored using administrative scripts, provided that 3 days have not passed since deletion.\
Information needed about deleted folders and artifacts can be read from the application logs.
{% endhint %}


---

# 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.eximee.com/documentation/documentation-en/budowanie-aplikacji/aplikacja-biznesowa/elementy-aplikacji-artefakty/zarzadzanie-elementami-aplikacji/usuwanie-elementow.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.
