I have an agent that runs other agents (let's call these 'sub-agents'
for my purpose) .Each time the agent run, it logs it's actions, whether
it ran successfully or generated an error. What I want now is to log
also if the sub-agents would successfully run or not (using
NotesAgent.Run/RunOnServer). The documentation says that this method
returns 0 if the sub-agent run successfully. But when I force an error
to a subagent, the Run method still returns 0. Is there a way that I can
make it return other values when an error occurs? Or is there another
way that I can log the sub-agents event to the main agent's database.
Note that the sub-agents runs on other databases. Thanks a lot! :D
Software/Hardware used:
lotus domino designer, lotus domino server, lotus notes
ASKED:
September 9, 2011 2:42 AM
UPDATED:
April 9, 2012 3:22 PM