: 4582 | 108668 | 12353

Asynchronous agent triggering or add agents to agent schedule list 
Use this IdeaSpace to post ideas about Domino Designer.

: 24
: 24
: 0
: Domino Designer
: agent, lotusscript, notesagent
: Tomas Ekström1591 11 Dec 2007
: / Email
Problem today!
  • If the agent triggers another agent the runtime limit may be reached for the calling agent since it has to wait for the called agent to finish.
  • When triggered from the console (tell amgr run 'db-path' 'agentname') the agent has no runtime limitation.
I would like to have the possibility to put agents on the amgr schedule list programmatically.
This can then be used to reduce the number of agents that runs every 5 min only to see if it has something to do.
Enabling this kind of triggering would allow having a master agent which can trigger other agents as needed and still utilizing the runtime limitation of the amgr on the triggered agent.

Possible solution:
Add an option to amgr to make it possible to add an agent to the schedule list.
Example: tell amgr add 'db-path' 'agent-name' '18:15'
Would put the agent on the scheduled agent list to be run at aprox. 18:15.
Let the runtime limitation work on agents started with tell amgr run
Extending the NotesAgent class with a method like addToSchedule(NotesDateTime)
Extend NotesAgentClassRunOnServer with something like this:
RunOnServer( [ noteID$ ] , [runInBackground as Boolean])
Utilizing the runtime limitation of course.
Related to the comments on this idea
Related to, but not the same as this since my suggestion is a single triggering.

1) Peter LaComb682 (11 Dec 2007)
I like the add to schedule - would go well with being able to schedule an agent to occur at a specific time each day.

I'd really like the runonserver method to have a 'waitforcompletion' optional bool (default to true for compatibility) so that I could have it fire and go right to the next statement.
2) Slawek Rogulski8874 (11 Dec 2007)
I like the idea of asynchronous agents. As far as scheduling them programmaticaly I have posted an idea about that here: { Link }


Welcome to IdeaJam™

You can run IdeaJam™ in your company. It's easy to install, setup and customize. Your employees, partners and customers will immediately see results.

Use IdeaJam to:

  • Collect ideas from employees
  • Solicit feedback and suggestions from employees and customers
  • Run innovation contests and competitions
  • Validate concepts
  • Use the power of "crowd-sourcing" to rank ideas and allow the best ideas to rise to the top

IdeaJam™ works with:

  • IBM Connections
  • IBM Lotus Quickr
  • Blogs and Wikis
  • Websphere Portal
  • Microsoft Sharepoint
  • and other applications.

IdeaJam has an extensive set of widgets and API's that allow you to extend and integrate IdeaJam™ with other applications.

Learn more about IdeaJam >>

Better control over horizontal outlines
Implement "Live Scrolling" in Mail Views
Develop and open source a high quality framework for new DBs
InViewEdit - option to show <Ctrl-click here to add new document> at top of view
AJAX Suggest to work off Full Text search
Email Chaser View
Integrate Quickr Connectors into the Lotus Notes install, just as is done for Sametime
Fix the bug of @BrowserInfo
Push out Notes.ini parameters with a Desktop policy
Have Ctrl-T open a new browser tab in the Notes Client
Connect to more than one Sametime server in Notes client
Clear All Breakpoints
Include Request_Content in DocumentContext for Web Service Providers
Ability to detach and remove file attachments from multiple emails at once
Control integrated Sametime status settings
Extend options to set preferences for Rich Text
Add @DialogBox, @PickList and @Prompt for x-pages
HTML validation and accessibility for XPages
Add 'Move to My Contacts' button to the form
Stationary usable in reply and forward of emails
Copy text to the clipboard from the Properties dialog - especially the Replica ID
Publish API to work with calendar items, tasks and contacts

IdeaJam developed by

Elguji Software Logo