Object serialization issue with Activiti 5.22

cancel
Showing results for 
Search instead for 
Did you mean: 
moakra
Member II

Object serialization issue with Activiti 5.22

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
gdharley
Intermediate

Re: Object serialization issue with Activiti 5.22

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