New method "getVariableInstances()" on VariableScopeImpl
We are migrating from a proprietary workflow system which supports attributes on DataObjects (process variables). In order to support this functionality in Activiti we need to link the Process Variable to our Attribute table via the Variable ID. Currently, the Activiti API does not support retrieving a Variable's ID via VariableScopeImpl class. This issue is a request to make the variable id available by exposing the variableInstances field via the following new method on VariableScopeImpl.
public Map<String,VariableInstanceEntity> getVariableInstances()