I’m trying to use Trigger Happy to monitor updates and deletions from our Domino Directory (to perform similar updates in a proprietary Directory). Every update is written to a textfile, and the email address of deleted users is written to another text file (or should be).
I figured that using Trigger Happy would be easier to implement as the code is executed on the server, instead of the client, and since we have approx. 20 users who are maintaining users in Domino Directory i wouldn’t rely on network drives etc.
The update function is working smoothly and captures every update as I would like, but whenever I try to use the delete function my server just stops responding - it doesn’t crash (NSD like), it just hangs.
My trigger is configured like this:
And the code in my agent looks like this (really … it should work, shouldn’t it ?):
Sub Initialize
Dim curSess As New NotesSession
Dim doc As NotesDocument
Dim tSession As New TriggerSession
szId = tSession.NoteId
Print "Trigger Note ID: " & szId
Print "Deleted by user: " & tSession.Username
Set doc = curSess.DocumentContext
Print "Deleting: " & doc.GetItemValue("FirstName")(0)
End Sub
I’ve tried to get in touch with Damien Katz, but I guess he is busy with Couch :-)…
As an alternative… does anybody know of any commercial software which provides the same functionality as Trigger Happy ?
Thanks,
Brian