cancel
Showing results for 
Search instead for 
Did you mean: 

Object serialization issue with Activiti 5.22

moakra
Champ in-the-making
Champ in-the-making

Hi,

I am working on a migration of Activiti version from 5.17 to 5.22.

After deploying the version 5.22, I realized that for a given workflow containing a Groovy Script task that sets a Java objet into execution, I got an error in the groovy script task in the execution.setVariable() method.

Does this mean that Activiti 5.22 sets only primitive objets to execution ?

Thank you in advance,

Med

1 REPLY 1

gdharley
Elite Collaborator
Elite Collaborator

Nope, execution setVariable supports Pojos as well as primitives.

Make sure your Pojo is serializable.
Perhaps you can add the java stack to the thread.

Greg