# Avoid unintended node deletions

**URL:** <https://forum.knime.com/t/avoid-unintended-node-deletions/44877>\
**Category:** KNIME Analytics Platform\
**Created:** [July 7, 2022, 11:39am UTC](https://forum.knime.com/t/avoid-unintended-node-deletions/44877 "2022-07-07T11:39:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dnguyen](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/d/ed655f/32.png) [@dnguyen](https://forum.knime.com/u/dnguyen)\
**Post date:** [July 7, 2022, 11:39am UTC](https://forum.knime.com/t/avoid-unintended-node-deletions/44877/1 "2022-07-07T11:39:01Z")

</div>

Dear Community,

I unintentionally deleted a node in the middle of a complex workflow created by a colleague who already left the company. It took me quite a while to re-construct the workflow. I only recognised that it happened two weeks later when I next triedto execute the workflow.  
In fact I only then realised that nodes and connections can be deleted without a warning/confirmation in KNIME. I was unable to find a setting to have a pop-up warning before a node is deleted. Is anyone aware of a setting and/or process set-up to avoid such intended deletions in future? To my best knowledge, in the non-server version there is also no log-file available that could be facilitated to trace and undo such errors? I would also find “non-change” mode useful in case a workflow only needs to be executed but not changed…

Thank you very much for any hints and tips.

Kind regards,

Denis

---

<div class="post-metadata">

**Author:** ![thor](https://forum-cdn.knime.com/user_avatar/forum.knime.com/thor/32/4_2.png) [@thor](https://forum.knime.com/u/thor)\
**Post date:** [July 7, 2022, 2:22pm UTC](https://forum.knime.com/t/avoid-unintended-node-deletions/44877/2 "2022-07-07T14:22:54Z")

</div>

You can enable confirmation dialogs in the preferences:

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/4/a/4aa0db6c5b30dcf2c899a993d8fa19b41f58800d.png)  
By default they are enabled therefore I guess you disabled them some time in the past.

---

<div class="post-metadata">

**Author:** ![mlauber71](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mlauber71/32/73590_2.png) [@mlauber71](https://forum.knime.com/u/mlauber71)\
**Post date:** [July 7, 2022, 2:48pm UTC](https://forum.knime.com/t/avoid-unintended-node-deletions/44877/3 "2022-07-07T14:48:49Z")

</div>

@dnguyen welcome to the KNIME forum. Sorry to hear about your troubles.

One thing you could do is build yourself some [simple backup system](https://kni.me/w/_tjPYVJCbqMAqTSC) to store versions of your workflow as a simple ZIP file with a timestamp (not super fancy but effective):

> [@Copy/Move Files Node](https://forum.knime.com/t/copy-move-files-node/29412/15):
>
> @zedleb I created and example where the KNIME workflow (or workflow group) is being zipped into a file with a current timestamp. And can later be restored to a (separate) folder. [image] This restore can either be automated also or you could do it manually if you need it. [image] Please note you will have to configure the Path variables and workflow names to your needs. I use local paths that will be created dynamically.

Then backup and versioning is a thing in all businesses since all things that can go wrong might do so at any time. So regardless of KNIME or other tools it is always good to have a backup strategy ready. In the case of KNIME it is that the basic version does not have a recycle bin or a longer undo history. Although I understand that something might be [on the agenda for the future (AP-11335)](https://forum.knime.com/t/auto-save-feature-improvements/13401/2). The KNIME server has a versioning and recycle option.

> [@Restore Knime workflows](https://forum.knime.com/t/restore-knime-workflows/36812/2):
>
> @evert.homan_scilifelab.se I can offer up these threads. Unfortunately if the workflows would not integrate themselves into KNIME like this you might have to revert to a backup. Can you tell us more about your system and the circumstance where the data is being stored (is it some sort of cloud drive?).

---

<div class="post-metadata">

**Author:** ![dnguyen](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/d/ed655f/32.png) [@dnguyen](https://forum.knime.com/u/dnguyen)\
**Post date:** [July 12, 2022, 6:22am UTC](https://forum.knime.com/t/avoid-unintended-node-deletions/44877/4 "2022-07-12T06:22:04Z")

</div>

Dear Thor,

thank you very much for the quick help. I am amazed about this active cmmunity forum! We use a shared workspace and it seems this is a workspace specific entry that had been disabled by one of our colleagues.

Best regards and have a nice day ahead,  
Denis

---

<div class="post-metadata">

**Author:** ![dnguyen](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/d/ed655f/32.png) [@dnguyen](https://forum.knime.com/u/dnguyen)\
**Post date:** [July 12, 2022, 6:23am UTC](https://forum.knime.com/t/avoid-unintended-node-deletions/44877/5 "2022-07-12T06:23:26Z")

</div>

Thank you very much @mlauber71 - I will have a detailed look at it in the following days.

Have a great day a ahead and thank you for helping me out!

Denis

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [July 19, 2022, 6:24am UTC](https://forum.knime.com/t/avoid-unintended-node-deletions/44877/6 "2022-07-19T06:24:09Z")

</div>

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