Score:0

HCL Domino Monitoring Configuration (events4): is it possible to generate and use application events?

az flag

I checked the (Help) databases but couldn't find out if I can create Custom Application Events, and if I can, how they can be used. For instance, I'd like an Agent to write a specific text in the log.nsf database and DDM should pick it up and process it according to what's specified in the Handler. Or if there is an XPages error, I can output something to the log database and DDM should find out about it and process it.

How can this be accomplished? Is there a description somewhere available? TIA

Score:0
az flag

I got the answer in Slack (sorry):

Dim session As New NotesSession
Dim agentLog As NotesLog
Set agentLog = session.CreateLog("Trigger DDM Event")
Call agentLog.LogEvent("Error caused by agent '" _
& session.CurrentAgent.Name & "'.", _
"EventDispatcher", EV_SERVER, SEV_WARNING1)

This seems to be the way to generate system events in Domino programmatically.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.