This content has been marked as final.
Show 6 replies
-
1. Re: disabling the HistoryService in JBPM 4.3 for certain process definitions
kukeltje Mar 1, 2010 2:46 PM (in response to ryanlbart)No, this is not possible. But you could run a second jBPM instance against the same database and in this disable history completely via the config and only run this specific process in this instance. -
2. Re: disabling the HistoryService in JBPM 4.3 for certain process definitions
walterjs Mar 1, 2010 5:06 PM (in response to ryanlbart)You could write your own HistorySession class and forward only those events you want to record to the HistorySessionImpl... -
3. Re: disabling the HistoryService in JBPM 4.3 for certain process definitions
kukeltje Mar 1, 2010 5:13 PM (in response to walterjs)Good suggestion... Might require some work, but it might work... -
4. Re: disabling the HistoryService in JBPM 4.3 for certain process definitions
dotanguy Apr 23, 2012 5:14 AM (in response to kukeltje)how is it possible to disable history via the config ?
thanks
-
5. Re: disabling the HistoryService in JBPM 4.3 for certain process definitions
mwohlf Apr 25, 2012 2:02 PM (in response to dotanguy)hi dotan,
as far as I remember you can provide your own implementation of org.jbpm.pvm.internal.history.HistorySession with the <history-session/> tag in the config.
Then you basically do nothing in the process(HistoryEvent event) method. There is a config and example on github that might help you: https://github.com/mwohlf/nchar/blob/master/src/jbpm4/jbpm4.cfg.xml
-
6. Re: disabling the HistoryService in JBPM 4.3 for certain process definitions
dotanguy Apr 27, 2012 4:19 AM (in response to mwohlf)thanks Michael ! that sounds like a very good idea. i will try it in sunday