# Delete all workitems from queue in Openrpa flow automaticaly

**URL:** <https://discourse.openiap.io/t/delete-all-workitems-from-queue-in-openrpa-flow-automaticaly/889>\
**Category:** OpenRPA\
**Tags:** openrpa\
**Created:** [October 13, 2023, 11:40am UTC](https://discourse.openiap.io/t/delete-all-workitems-from-queue-in-openrpa-flow-automaticaly/889 "2023-10-13T11:40:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vedran\_Potnesil](https://discourse.openiap.io/letter_avatar_proxy/v4/letter/v/8baadc/32.png) [@Vedran\_Potnesil](https://discourse.openiap.io/u/Vedran_Potnesil)\
**Post date:** [October 13, 2023, 11:40am UTC](https://discourse.openiap.io/t/delete-all-workitems-from-queue-in-openrpa-flow-automaticaly/889/1 "2023-10-13T11:40:45Z")

</div>

Hi!

In Openrpa flow, before robot starts to add new workitems in queue, I have to clear a queue from old workitems.

It is possible in Openflow and Openrpa manually with “Purge” command.

Is it possible to do it automatically in some sequence of flow, and what it will be the best practice?

Maybe someone had such experience?

Thanks

---

<div class="post-metadata">

**Author:** ![Allan\_Zimmermann](https://discourse.openiap.io/user_avatar/discourse.openiap.io/allan_zimmermann/32/12_2.png) [@Allan\_Zimmermann](https://discourse.openiap.io/u/Allan_Zimmermann)\
**Post date:** [October 13, 2023, 2:44pm UTC](https://discourse.openiap.io/t/delete-all-workitems-from-queue-in-openrpa-flow-automaticaly/889/2 "2023-10-13T14:44:40Z")

</div>

That is a very good question. I dont think that is possible from openrpa, but should be from nodered or using the version1 api

---

<div class="post-metadata">

**Author:** ![system](https://discourse.openiap.io/uploads/default/original/2X/a/a1ca7b164ac9a826839704d9ac82c7b5e6bcf557.png) [@system](https://discourse.openiap.io/u/system)\
**Post date:** [October 17, 2023, 8:49am UTC](https://discourse.openiap.io/t/delete-all-workitems-from-queue-in-openrpa-flow-automaticaly/889/3 "2023-10-17T08:49:15Z")

</div>

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
