Problem solve Get help with specific problems with your technologies, process and projects.

Why are documents not being created automatically by my agent?

I have a scheduled agent that picks up data from an employee database and creates birthday greetings for them. But when it is run per its schedule, the documents are not created. Instead, when I run the agent by right-clicking from Designer and selecting Run, the necessary documents are created. Why is this happening?
Hmmm, this can be a lot of reasons. Apparently a certain action is being done that you are allowed to do, but when the agent runs scheduled on the server, with the ID it is signed, that action is not allowed.

So, first things first.

  • If somewhere in your code, you are looking up values from a database that is located on a different server, it will not work. A scheduled agent is not allowed to lookup values on another server. This problem is somewhat resolved in R6.

  • A scheduled agent written with LotusScript cannot execute any notesUi objects. So, if in the code you refer to any object like that, for instance notesUiWorkspace, your agent will not work either.

  • The ID the agent is signed with has no access to the database where you lookup the values, or has no access to create documents. Check the ID the agent is signed with and look in the server document in the Security tab, if it is allowed to run agents properly.

  • Should the agent be signed with the server ID, check if the server can execute agents. If so, try changing the access control level of the server in the ACL of the database where the documents are created into the type "unspecified" or "person" and make sure it is allowed to create documents.
As you can see a lot of reasons are possible, but the common thread here is security.

Dig Deeper on Lotus Domino Designer

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...