[jboss-user] [jBPM] - Re: How to get Objects from VariableInstanceLog?

Demian Calcaprina do-not-reply at jboss.com
Fri May 17 22:18:19 EDT 2013


Demian Calcaprina [https://community.jboss.org/people/calca] created the discussion

"Re: How to get Objects from VariableInstanceLog?"

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

--------------------------------------------------------------
Variable instance log is currently implemented to save the to string of the object.

The logger receives the string

 https://github.com/droolsjbpm/jbpm/blob/5.4.x/jbpm-bam/src/main/java/org/jbpm/process/audit/JPAWorkingMemoryDbLogger.java#L107 https://github.com/droolsjbpm/jbpm/blob/5.4.x/jbpm-bam/src/main/java/org/jbpm/process/audit/JPAWorkingMemoryDbLogger.java#L107

The working memory logger converts it to string.

 https://github.com/droolsjbpm/drools/blob/5.5.x/drools-core/src/main/java/org/drools/audit/WorkingMemoryLogger.java#L525 https://github.com/droolsjbpm/drools/blob/5.5.x/drools-core/src/main/java/org/drools/audit/WorkingMemoryLogger.java#L525

or you can use some variable persistence strategy... you can take a look at this..

 https://github.com/droolsjbpm/jbpm/blob/5.4.x/jbpm-persistence-jpa/src/test/java/org/jbpm/persistence/session/VariablePersistenceStrategyTest.java https://github.com/droolsjbpm/jbpm/blob/5.4.x/jbpm-persistence-jpa/src/test/java/org/jbpm/persistence/session/VariablePersistenceStrategyTest.java

HTH!
--------------------------------------------------------------

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

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/20130517/13d95c87/attachment.html 


More information about the jboss-user mailing list