Das Notes Forum

Lotus Notes / Domino Sonstiges => Tipps und Tricks => Thema gestartet von: Meff am 11.08.02 - 13:43:13

Titel: Agent Typ 'Before new Mail arrives'
Beitrag von: Meff am 11.08.02 - 13:43:13
@All

kleiner Typ zu dem Agent Typ 'Before new Mail arrives' :

1. Es darf nur einmal pro Datenbank ein solcher Agent aktiviert sein. Es können zwar mehrere Agenten diese Typs pro DB vorhanden sein, aber nur einer laufen
2. Der Agent wird von dem Router getriggert !
3. Haltet die Agentfunktion so klein wie möglich, da ansonsten der Router ausgebremst wird

Was Ihr nicht mit dem Agent machen könnt :

1. Aufruf von anderen Agenten
2. Attachments bearbeiten (lösen kann man diese)

Besonderheiten :

1. Agenten dieses Typs unterliegen anderen Laufzeiten als im Serverdokument unter Agent Manager definiert (Default ist 30 Sekunden)
2. Die Laufzeit solcher Agenttypen kann im Konfigurationsdokument unter 'Router/SMTP - Restrictions - Delivery Controls' eingestellt werden (Pre-delivery agent timeout).
3. Cluster. Da der Agent durch den Router gesteuert wird, läuft er bei einem Failover ebenfalls ohne weitere Einstellungen.


Meff ;)
Titel: Re: Agent Typ 'Before new Mail arrives'
Beitrag von: Meff am 15.08.02 - 15:33:02
Noch ein kleiner Zusatz zu dem Thema aus der Knowledge Base :

In order for "New Mail" triggered agents to run on Notes/Domino Servers, the following must be true:

1.      The signer of the agent (the last person to save or enable the agent) must have their mail file located on the same server as where the agent will run.  The server determines this by taking the name of the last person to save the agent, performing a person lookup into the Name & Address Book (NAB) and retrieving the Mail Server from that user's Person document.  If the Mail Server in the Person document is different than the current server, the agent will not run.  If the person is not found in the NAB, the agent will not run.  This person lookup is performed every time the agent loads to run.  Remember, if the User ID is hierarchical, the user name in the Person document must also be hierarchical.  This is stored in the field "FullName" in the Person document.


2.      In Notes R4, if the agent is a Formula agent (as opposed to a Simple Action or Script agent) there is an additional requirement that the agent be saved as a R4 type agent, rather than a R3/R4 Compatible agent (which is the default).  An agent will save as a R4 agent when a feature which is exclusive to R4 is used within the agent.

Note:   This limitation no longer applies to formula agents created or saved in R5.  R5 does not save agents in the R3/R4 compatible format.  Existing agents that are still in the R3/R4 compatible agent format will still not run under R5 until they are resaved using an R5 client.

Meff ;)