[jboss-user] [jBPM] - Re: Process persistense - change WHEN it should happen!

Maciej Swiderski do-not-reply at jboss.com
Wed Jun 27 09:03:02 EDT 2012


Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: Process persistense - change WHEN it should happen!"

To view the discussion, visit: https://community.jboss.org/message/744526#744526

--------------------------------------------------------------
Not really following your use case. If you like to execute processes without persisting them while they are running what's the purpose of having them persisted at the end (when they are completed)? Since jbpm will remove all runtime data from db once process instance is completed...

I suggested process listeners since that is used to collect information about running processes to build up kind of history log.

If you like to have several elements enclosed in one transaction you could mark transaction boundary your self and jbpm will join that transaction instead of creating separate transactions for each command. Take a look at the  http://docs.jboss.org/jbpm/v5.3/userguide/ch.core-persistence.html#d0e3744 documentation for more details.

HTH
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/744526#744526]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120627/738b6a3d/attachment.html 


More information about the jboss-user mailing list