NotesAgent.Run return value

5 pts.
Tags:
Lotus Domino
Lotus Domino server
Lotus Notes
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

Answer Wiki

Thanks. We'll let you know when a new response is added.

I am using Exchange 2010. The MS Exhange Transport service and the MS exchande RPC client Access service are not running. my users cannot connect to the exchange server using OUTLOOK 2007. When i…
|<a href=”http://www.pipefittingchn.com/particular.html”>particular fittings</a> |
|<a href=”http://www.pipefittingchn.com/nipple.html”>Pipe nipple</a> |
|<a href=”http://www.pipefittingchn.com/hightubing.html”>High pressure tubing</a> |
|<a href=”http://www.pipefittingchn.com/unionjoint.html”>Union joint</a> |
|[a href=”http://www.pipefittingchn.com/pipefittings4.html”>ERW elbow</a> |
|[a href=”http://www.pipefittingchn.com/pipefittings1.html”>Carbon Steel Eccentric Reducer</a> |

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following