cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti JPA variable

someactivitinoo
Champ in-the-making
Champ in-the-making
Hi,

I'm new to Activiti.
I'm trying to create a process with a few steps (service tasks as JavaDelegates).
I want to start a process with a variable that is a JPA object, and get the variable from inside the step.
I tried and got:
"All parameters that are passed to process instance must be serializable.
Caused by: org.activiti.engine.ActivitiException: couldn't find a variable type that is able to serialize ***my business object***"

Is what I'm tring to do possible?
Can you send/point me to me a short example?

Thanks
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
That exception happens when JPA isn't configured properly. How did you configure your process engine? Did you add the correct entityManagerFactory or persistenceUnit name?