I know that in order to flush the logs to the JBPM_LOG table, one has to call the
jbpmContext.save(processInstance) method (as described in the user guide)
However, I found it strange that no call to this method is made when the processInstance
is ended.
More specifically, when one forgets to call the save method, I assumed that the end()
method of the processInstance would act like a 'catch-all' and flushes the log.
With the current implementation, all logs are gone when the call to the save() method is
taken away and the process ends.
It is obvious that this is quite error-prone, I had assumed the logging was automatic.
Am I missing something here or is it like I just described?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140527#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...