Menu

Metastorm BPM : Writing to the event log

As well as trying to write an audit log (a more advanced log than what Metastorm BPM provides in its admin forms), I always tend to write errors into the event log or to a text file as a backup. There is of course the argument that cluttering the event log with errors isn’t best practice and can be expensive, however my belief is that this very point is the reason why you should insert errors into the log. The less log entries the better performing system you have and ultimately that is what you want from your Metastorm procedures. Below is the standard class I use to record entries into the log and as a backup, write to a text file.