Hi,
[Stack info: jBPM 5.3.0, Java 1.7, developing on Windows 7, logging to Oracle 11gR2 database, standalone JVM app (i.e. not in any container), using Spring 3.1.1. We join an existing transaction from Oracle before the jBPM process is invoked].
We're trying to create an audit trail through a given process flow and we need to log the state of one or more context variables at the point the flow either enters and exists a given node, and be able to identify the individual process run and what the data was at any point during that process.
We aren't currently persisting the process info (we don't have a requirement to intervene in flows), and there doesn't seem to be ay obvious way to link the variable info at the node level to a specific process info - when we log out the process info id, it is always 1. Do we have to persist the process info to get unique ids for subsequent processes?
It seems a really obvious thing to need to do, but seems really difficult to implement - am I missing something?
Any help gratefully received.
Regards,
Bob