Hi,
A user is deleting a document and the day after, this document is back in the view.
It happens since I have enabled the database properties “Allow Soft Deletion”.
I have determined that one of the scheduled agent is updating the document and then the document is undeleted.
Strangely, I have also noticed that not all documents modified by this agent are undeleted ?
Why scheduled agents are running on delete documents ?
Any toughts are welcomed.
Christophe
Subject: Scheduled agent undeletes deleted document
Not sure why your code is undeleting docs without seeing your code but take a look at the IsValid and IsDeleted properties of NotesDocument class. You may need to add one these to your code to skip deleted docs.
Subject: In fact, this is a Formula Agent.
Subject: RE: In fact, this is a Formula Agent.
I had this happen in the past and changed my agent to run on a specific view as opposed to all doc’s in database. This way it only changes docs that are not marked for deletion.