New method "getVariableInstances()" on VariableScopeImpl

Description

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()
{
ensureVariableInstancesInitialized();
return Collections.unmodifiableMap(variableInstances);
}

Assignee

Tijs Rademakers

Reporter

Robert Hafner

Labels

None

Components

Fix versions

Priority

Major
Configure