AnsweredAssumed Answered

Using java.util.List objects as process variables

Question asked by ovunccetin on Mar 2, 2011
Latest reply on Mar 2, 2011 by jbarrez
Hi everyone,

I am trying to save a java.util.List value (a list of serializable objects) into the process variables. The Activiti engine writes the list into the bytearray table. But when the list contains more than one items, the engine adds a new row to the byte array table instead of updating the previously added blob value. When I access this variable then via runtimeService.getVariable("executionId","varName") call, a list with only one item (the item which is firstly added) is returned. Do you know something about this issue?

Thanks in advance.

Outcomes