[jboss-user] [jBPM] - Re: Unit Testing/Checking Variables

Maciej Swiderski do-not-reply at jboss.com
Mon Apr 23 03:47:00 EDT 2012


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

"Re: Unit Testing/Checking Variables"

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

--------------------------------------------------------------
If you don't have any wait states in your process which means it will process all nodes after calling start process then the only way is to use event listeners. While using event listeners you have two options:
* use event listeners that are shipped with jbpm as part of BAM module
* create your custom event listener

If you use persistence for your processes I would recommend to use BAM module for this as it will record most of the data you would like to have and then you could query history log to get data, it includes variable information as well. For more information about history log, please have a look in the  http://docs.jboss.org/jbpm/v5.2/userguide/ch07.html#d0e2950 documentation.

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

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

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/20120423/cde4c7d5/attachment.html 


More information about the jboss-user mailing list