Skip to content

Serialise/deserialise a ProcessInstance #78

@ateodorescu

Description

@ateodorescu

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions