Strange behaviour of an Agent with search criteria

I have a LotusScript Agent running “Manually from Actions Menu” on “Selected documents”. In addition the Agent has the following search criteria formula:

((field Form contains JobFM) OR (field Form contains FileFM AND field StatusF contains 4)) AND field ActiveF contains 1

The agent has been used on Notes 6.0.1 CF1 for several weeks without problems. However, last weekend the Agent suddenly stopped working as expected. The agent log shows “Found 0 document(s) that match search criteria”.

If I retry to run the Agent against the same unchanged documents the next day (or several hours later) it works as expected.

While the Agent always works in one Database it does not always work in two other Databases and it never worked in a fourth Database using the same template.

This is what’s displayed in the Agent log:

Started running agent ‘1. Process selected docs’ on 30.05.2003 16:27:04

Running on selected documents: 2 total

Found 0 document(s) that match search criteria

Ran LotusScript code

Done running agent ‘1. Process selected docs’ on 30.05.2003 16:27:07

Any idea what’s wrong with my database?

Peter

Subject: Solved: Strange behaviour of an Agent with search criteria

The problem has definitly to do with the update of the FT index. After I click “Update Index” under the “Full Text” tab in the Database properties my Agent works.

Due to mass imports the server is currently under havy load which delays immediate FT index updates.

In addition, on one Database the FT index was corrupted. After rebuilding the FT index on this database from scratch my Agent runs on this database as well.