Now that pvm is back in engine, the variable map and variable instances can be enhanced with back pointers tot he execution.
This is necessary for things like history. When generating history for variable updates, the variable instance should check the process definition to see if history level full is enabled. Alternatively, a boolean field could be added to the variable instance to indicate the history level. This could avoid extra querying each time an update is made.