Follow up from ACT-1300, Tom wrote:
I'm working on it. Were a couple of issues with the existing implementation. Discussed with Daniel:
history level variable would be removed again
history process variables would be a copy of the variable instances (consistent with the tasks/historic tasks). the value is kept in sync. history level audit is required for this data to be captured.
history level full adds capturing of all historic values of a given variable. so if a variable gets multiple values throughout the life of the process, HistoricProcessVariableUpdate records are created for all those updates.
when history level 'activity' is configured, the HistoricProcessVariable's are only generated at the end of the process instance. (this is what was implemented initially)
I should be committing this in the next couple of days