• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 202
  • Last Modified:

Agent Log - running on new or modified documents

Hello, even though I deleted all documents in the database before importing new ones to be processed by my agent, the number of documents that the agent is run on (as reported by the agent log) keeps on increasing.

E.g. I had 100 docs in the db (imported from one spreadsheet), and then after running the agent, the log correctly reported the number of documents the agent was run on as 100.  Then I deleted those 100 docs, and imported a total of 250 documents from two spreadsheets.  However, after running the agent, the log reported the number of documents the agent was run on as 100+250=350.  But I expected the number to be 250 since I had deleted the original 100.

What's going on?  Thanks.
0
pw05
Asked:
pw05
2 Solutions
 
qwaleteeCommented:
Look at notesSession.updateProcessedDoc -- if you don't use that for each ocument, Notes still thinks it has to process it.  Plus, the value that Notes reports can include deletion stubs, since those count as documents when Notes builds a list of all docs changed since a particular date.  However, the agent never actually sees those.

I woudl not worry about this too much.
0
 
HappyFunBallCommented:
Are you sure the original 100 are really deleted or are they just hidden from other views?  If you go into the Database Properties and click the (i) tab, you should see the count of documents in the database.  Just make sure you've only got 250 as expected and then I wouldn't worry about it.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now