in ddm-bpm-engine/src/main/java/com/epam/digital/data/platform/bpms/engine/el/TransientVariableScopeElResolver.java [31:53]
public Object getValue(ELContext context, Object base, Object property) {
if (base != null) {
return null;
}
var scopeContext = context.getContext(VariableScope.class);
if (scopeContext == null) {
return null;
}
var scope = (AbstractVariableScope) scopeContext;
var variableName = (String) property;
if (!scope.hasVariable(variableName)) {
return null;
}
context.setPropertyResolved(true);
var typedValue = scope.getVariableTyped(variableName);
if (!typedValue.isTransient()) {
return scope.getVariable(variableName);
}
return typedValue;
}