Hi,
I set up Activiti to use my JPA entity to store some of information taken from user during the process execution. All works like a charme. Now at the end of process there is not reference (in history) between process instance and entity stored, then to solve this problem I think is possible to store entity ID as process variable before end of process. This can works, but I lose the history of record change. The problem rise if I store document and want maintain the history of document/entity. With JPA implementation I can reference only the last shot of my records losing his history. What do you think of change JPA for JCR and store the PATH of entity as process variable ?