: 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.
 
or
 
Let the runtime limitation work on agents started with tell amgr run
 
or
 
Extending the NotesAgent class with a method like addToSchedule(NotesDateTime)
 
or
 
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 >>


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






IdeaJam developed by

Elguji Software Logo