Home > Ask the Domino Experts > Lotus Instant Messaging/Sametime Questions & Answers > Why are documents not being created automatically by my agent?
Ask The Domino Expert: Questions & Answers
EMAIL THIS

Why are documents not being created automatically by my agent?

Hans van der Burg EXPERT RESPONSE FROM: Hans van der Burg

Pose a Question
Other Domino Categories
Meet all Domino Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 17 April 2003
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.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Lotus Instant Messaging/Sametime
How to enable communication between multiple Lotus Sametime servers
Lotus Sametime users with different 'home' servers cannot see each other online
Resources for deploying Lotus Sametime on the Internet
No one can see Lotus Sametime user is online
Meeting windows won't appear on Sametime 7 with Sametime Connect 3 client
Saving and archiving Lotus Sametime Web conferences
Collaborating with clients who don't have Sametime
Unable to log into Sametime through Notes with SSO
Can Lotus Notes leverage domain authentication?
Updating local location documents for Sametime users

Lotus Domino Designer
Setting up a Domino 8.5 XPages example
An introduction to using XPages in Domino 8.5
Top 10 Lotus Notes/Domino coding and development tips of 2008
'Customize this view' options are disabled in Lotus Notes databases
Stop response documents from showing in a Lotus Notes form
Set a value in a field existing in another Lotus Notes database
Display Lotus Notes fields as separate entries in one column
An introduction to Lotus Domino Designer
Modifying LotusScript code for date and time handling
Creating custom Lotus Notes Domino login forms

Lotus Notes Domino Agents
How the Agent Profiler tool improves Notes/Domino performance
Run or restart Notes/Domino agents via text messages
Calculating results for a column in a Lotus Notes view
Approve Lotus Notes documents using a BlackBerry mobile device
LotusScript agent indexes Lotus Notes/Domino databases
Top 10 Lotus Notes/Domino coding and development tips of 2008
Open documents in Lotus Notes from the Web without a UNID
Fix and update Lotus Notes documents with limited access
Verify scheduled agent status with Domino Extensible Language (DXL)
Top 10 Lotus Notes Domino programming and development tips of 2007

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Lotus Notes Domino on Blackberry and mobile devices
HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts