I recently changed my activiti context file to not use any history (by setting history to none); but soon realized that I wasn't able to retrieve my process variables anymore when the process instance is complete.
Is there a way to retrieve the final process variables of a process instance when the history is turned off?
I am mostly using the REST API in activiti 6.
From my work with v5 I'd say it was unlikely you could get them. The database tables that persist runtime information, including process variables, have the entries for a process instance deleted when it is completed. So can't see where you'd be able to get them from.
You could get the variables at the point the process completes via an execution or event listener. If you need to get subsequent access to the values you'd of course need to then store the values yourself.
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.