# Clean Up

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

In the clean up section you can set the workflow to "Auto cleanup run iterations history" after you check the box you will have two settings to chose from:

* The first option you can enter the number of the maximum iterations to be stored (if you set it to be 0 means no limit, to set the limit write a number greater than 10).
* The second option is to set the duration of when the clean up will be made (The number is in days make sure to set Cleanup limit to 0).


---

# 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.b2winsuite.com/6.1/b2data/workflow-settings/execution-configuration/clean-up.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.
