This content has been marked as final.
Show 1 reply
-
1. Re: Can I create more tables in JBPM database and associate them with History logging?
swiderski.maciej Mar 24, 2014 2:31 AM (in response to rjintur)1 of 1 people found this helpfulyou can freely extend logging capabilities by adding your own process event listener that will be registered on ksession and task lifecycle listener for task operations. These listeners then can log as many information as needed to custom tables (remember to define entities in persistence.xml so they will be seen for the entity manager.
When it comes to clean up of history log, currently it is up to you to clean it up and to decide when to do so. jBPM does not provide API for such operations, mainly due to extensibility available here - we cannot ensure all is cleaned up if it was extended.
HTH