what specifically are you trying to achieve? You could look at implementing an alternative to WorkingMemoryDBLogger, by implementing the WorkingMemoryLogger interface, but it might not satisfy your requirements.
An alternative would be to look at adding code to the on exit or on entry actions for the task node itself.
Or you could look at registering a process event listener with the knowledgeSession.
|Retrieving data ...|