AnsweredAssumed Answered

DeployCmd (and other Commands) not Serializable

Question asked by retourfer on Apr 18, 2012
Latest reply on Jul 19, 2012 by retourfer
Hi
we want to integrate Activiti Workflow Engine in our Client/Server application. This means the activity engine is running in the server application and the user interface is implemented in an Eclipse RCP application. The remoting is done with Spring HttpInvoker.

I was able to access the process engine and all its exported services from within the client application and i can i.e. execute a ProcessDefinitionQuery.

But if i want to deploy a new process definition i fail because the DeployCmd class is not defined Serializable. I checked other command classes and it seem that none is defined Serializable but all contain the declaration
  private static final long serialVersionUID = 1L;

Does this mean that the Activiti Workflow Engine can not be used within a Client/Server application or how should i use it in this scenario?

The issue ACT-835 says that this was a bug and is fixed in version 5.7. I am working with version 5.9 and it seems that this fix is lost again!?!

Outcomes