hello
je me demande si'l est possible de faire un runonserver en lotus script sans que celui-ci attend la fin de l'agent lancer et qui passe tout de suite à la suite ?
-- Code that starts the background agent --
Dim session as new NotesSession
Dim thisDb as NotesDatabase
Dim agent as NotesAgent
Dim doc as NotesDocument
set thisDb = session.currentDatabase
set doc = session.documentContext
set agent = thisDb.getAgent("Agent I want to run and not wait for")
on error resume next
agent.runOnServer(doc.noteId)
-- And now here's the beginning of the background agent --
Dim s As New notessession
Dim db As notesdatabase
Set db = s.currentdatabase
Call s.SendConsoleCommand(db.Server, |Drop "| & s.UserName & |"|)