AnsweredAssumed Answered

storing non-serializable object into process variables map

Question asked by workflowuser2 on Jul 20, 2012
Latest reply on Jul 23, 2012 by naag
Hi,

I need to store result of a bean invocation back into the process variable map using: activiti:resultVariable.
The result object is not serializable. I get the error message that VariableType is not supported.

I do not have access to the result object class and therefore cannot modify it to be serializable.

Is it possible to cache non-serializable object into the map? I do not need it to be stored in the db (activiti:async="false"). It can be cached in the memory.

If possible, do I need to create another VariableType? Any example of a VariableType that is not serializable?

Thanks
activiti newbie

Outcomes