# Wait Node: Wait for file deletion stuck in loop

**URL:** <https://forum.knime.com/t/wait-node-wait-for-file-deletion-stuck-in-loop/83324>\
**Category:** Implemented Fixes\
**Created:** [September 18, 2024, 10:39am UTC](https://forum.knime.com/t/wait-node-wait-for-file-deletion-stuck-in-loop/83324 "2024-09-18T10:39:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mwiegand](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mwiegand/32/66896_2.png) [@mwiegand](https://forum.knime.com/u/mwiegand)\
**Post date:** [September 18, 2024, 10:39am UTC](https://forum.knime.com/t/wait-node-wait-for-file-deletion-stuck-in-loop/83324/1 "2024-09-18T10:39:04Z")

</div>

Hi,

if the Wait node is served file, which it shall wait until it’s deletion, but that file already got deleted, the wait node is getting stuck.

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/e/7/e79bd2f1eae89eb479735b59c1498cb24fec3ac0.png)

Best  
Mike

---

<div class="post-metadata">

**Author:** ![armingrudd](https://forum-cdn.knime.com/user_avatar/forum.knime.com/armingrudd/32/84633_2.png) [@armingrudd](https://forum.knime.com/u/armingrudd)\
**Post date:** [September 25, 2024, 12:26pm UTC](https://forum.knime.com/t/wait-node-wait-for-file-deletion-stuck-in-loop/83324/2 "2024-09-25T12:26:41Z")

</div>

Hi @mwiegand and thank you for you feedback,

I created a ticket to add a new sub-settings which lets the node pass if “Deletion” is set and the file doesn’t exist anymore: AP-23345

---

<div class="post-metadata">

**Author:** ![mwiegand](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mwiegand/32/66896_2.png) [@mwiegand](https://forum.knime.com/u/mwiegand)\
**Post date:** [November 29, 2025, 11:45am UTC](https://forum.knime.com/t/wait-node-wait-for-file-deletion-stuck-in-loop/83324/3 "2025-11-29T11:45:07Z")

</div>

I’d like to return to this issue as part of an appraoch to check for downloads still in progress. If the download finishes faster then the wait node can execute, or the wait node starts before the download, a typical race condition, the wait node is stuck in a loop.

 ![Screenshot 2025-11-29 124159](https://forum-cdn.knime.com/uploads/default/original/3X/5/9/59f1bbd09ebec0485e9e9ffb1886e55495c71ee7.png)

@qqilihq FYI as we recently exchanged about options to monitor downloads in #palladian-selenium

PS: My current appraoch looks like this:

1. Wait for download to init
2. Loop until no more “crdownload“ files are found (row count = 0)

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/5/8/589881d1f7c70aa4aca9a35c719035ad20b56bf3.png)

Best  
Mike

---

<div class="post-metadata">

**Author:** ![forum](https://forum-cdn.knime.com/user_avatar/forum.knime.com/forum/32/77398_2.png) [@forum](https://forum.knime.com/u/forum)\
**Post date:** [April 5, 2026, 9:36am UTC](https://forum.knime.com/t/wait-node-wait-for-file-deletion-stuck-in-loop/83324/4 "2026-04-05T09:36:09Z")

</div>

**Internal ticket ID:** AP-23345  
**Summary:** Wait… node to pass if “Deletion” is set and the file doesn’t exist anymore  
**Fix version(s):** 5.12.0

---

<div class="post-metadata">

**Author:** ![forum](https://forum-cdn.knime.com/user_avatar/forum.knime.com/forum/32/77398_2.png) [@forum](https://forum.knime.com/u/forum)\
**Post date:** [April 5, 2026, 9:36am UTC](https://forum.knime.com/t/wait-node-wait-for-file-deletion-stuck-in-loop/83324/5 "2026-04-05T09:36:14Z")

</div>


