Domino 9 und frühere Versionen > ND7: Administration & Userprobleme

Durch Zeitplan auszuführender Agent wird mehrfach ausgeführt!

(1/4) > >>

SaSaWu:
Wir haben ein Problem mit einem Agenten.

Der Agent soll wöchentlich eine Mailnachricht senden. Dies macht er auch, jedoch sendet er die Mailnachricht gleich mehrfach. Die ersten Wochen 5x, jetzt sogar 15x.

Die Einstellungen:

Optionen => Gemeinsam
Laufzeit => Zeitplan wöchentlich, Ziel "Alle Dokumente in der Datenbank".

Stefan

klaussal:
Ohne Code können wir nur raten.

Oder hast Du gar keine Frage....

SaSaWu:
OK, wo bekomme ich den Code her?

Stefan

Glombi:
Ich werfe das mal in den Raum, falls es ein Script-Agent ist:

Marks a document as processed by an agent.
Defined in
NotesSession
Syntax
Call notesSession.UpdateProcessedDoc( notesDocument )
Parameters
notesDocument
The document to be marked as processed.
Usage
You use this method in conjunction with the UnprocessedDocuments property, the UnprocessedFTSearch method, the UnprocessedFTSearchRange method, and the UnprocessedSearch method in NotesDatabase in an agent that runs on all new and modified documents, newly received mail documents, newly modified documents, and pasted documents.
This method marks a document so subsequent invocations of the same agent recognize the document as processed. You must explicitly mark a document with this method. No implicit marking occurs in a LotusScript agent.
If a marked document is modified, it is unmarked and will be processed by the next invocation of the agent.
This method marks a document as processed only for the particular agent from which it is called. Using this method in one agent has no effect on the documents that another agent processes.

SaSaWu:
???

Also, es ist ein Agent, den ich nicht per Script programmiert habe, sondern über das Eigenschaftsfenster des Agenten eingestellt habe. Mit Script kenne ich mich leider (noch) nicht aus.

Stefan

Navigation

[0] Themen-Index

[#] Nächste Seite

Zur normalen Ansicht wechseln