workflower icon indicating copy to clipboard operation
workflower copied to clipboard

Serialise/deserialise a ProcessInstance

Open ateodorescu opened this issue 3 years ago • 0 comments

The current implementation of serialisation/deserialisation is not really useful if you want to save process instances in a database. You can't store them serialised because you can't do any kind of report on the process data not to mention sorting/filtering data in a work list..

In a database one would save the following data for a ProcessInstance:

  • id, name, idProcessDefinitionVersion, process data
  • all tokens available
  • all work items available and the activities they are linked to.
  • all sub-process instances and the activities they are linked to (this is not implemented yet)

So the ProcessInstance class could be modified to serialise/deserialise only the data described above. Anyone agrees to this? Anyone working on this already?

ateodorescu avatar Apr 08 '21 08:04 ateodorescu