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
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
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
HTH!
Reply to this message by going to Community
Start a new discussion in jBPM at Community