Versioning audit log of process instances

I have a requirement where I have to compare and create an audit log of different versions of process instances.

Suppose we have a process with id “loanApproval” which has versions 1 and 2. My requirement is to compare these 2 versions and generate an audit log of changes made between these versions.

for instance, if version 1 was
start → get loan → approve loan → end

and version 2 was

start → get loan → approve loan → notify requester → end

The audit log would have to generate something like “A new service task “notify requester” was added”

Any ideas how to get about this?

You can get the XML defs of both process models, and then use any tool/lib you like to produce the diff in the form you need. The two versions might differ just in the geometry/layout.

1 Like