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?