Repeating finished task cannot be deleted


Domino/Notes Version: 12 FP7
Add-on Product (if appropriate, e.g. Verse / Traveler / Nomad / Domino REST API):
Its Version:
Operating System:
Client (Notes, Nomad Web, Nomad Mobile, Android/iOS, browser version):


Problem/Query:

My user has a repeating finished task in her calendar which cannot be deleted (I as Administrator am also not able to delete the task). Some of the repeating dates are in the future. It is not possible to edit the task to remove them. When trying to delete the task we receive the error message “Sie müssen einen Wiederholungsantrag wählen um diese Aktion durchzuführen. (You must select a repeat request to perform this action.)“

The message is there to prevent a user from deleting a wrong part of a repeating task. In your case this prevents you from deleting an already broken document. There are two possible solutions for this:

  1. Use Debugger to prevent the “protection” to kick in
  • Close all open windows of the database with the problem
  • Click on “Tools - Debug LotusScript”
  • Reopen the database to the tasks-view. Whenever the debugger opens, just click on “continue”
  • Select the “broken” task document and delete it
  • Debugger will open again. THis time click on “Stop” in the debugger. This will prevent the checks and the dialog
  • After that the document will be marked for deletion
  • Press F9 and it will be completely deleted
  • Disable debugger in the same menu
  • Close database and reopen (otherwise you will still get the Debugger until you restart Notes Client
  1. Use my Toolbar
  • Download my Toolbar from N4Y Toolbar - Homepage Torsten Link
  • Detach it to your local data directory
  • Sign the database to prevent security alerts
  • Install the toolbar by clicking on “Toolbar update“ at the right of action bar after opening it
  • Restart Notes Client to show the toolbar
  • Open the tasks view with the document that cannot be deleted
  • Select the task document in the view
  • Use “Delete” button of toolbar to get rid of the document
    image

Thanks very much for your reply. I downloaded your database and used the toolbar but unfortunately it did not work. I have attached the error message I see after pressing the “erase selected documents from database” icon.

This error message occurs, if you have “preview” enabled as then the document is “locked” by the preview or if the document you want to delete is open. Select it in view and make sure there is no preview window, then this will work.

Unfortunately even with “Preview” switched off and the user not logged into HCL Notes, I still get this error message.

This error message only appears when the document is opened somewhere… Are you sure, that it is not open in your client?

Hello Andrew,

Please follow below steps.

  1. First take the backup of the database.

  2. Find the APPTUNID of the repeating task. Go to document properties and look for APPTUNID.

  3. Create a view based on the APPTUNID.

  4. Once the documents are populated in that view confirmed docs are correct.

  5. Now create agent using formula language to delete these documents.

  1. Create an agent by going to Create> Agent
  2. Select a “Formula” type agent.
  3. Copy and paste the code on the code area, save it.

@DeleteDocument

  1. Now select the documents from view and then run the agent from Action menu.

Regards

Aniket