Map<String, Object> tempVariables = new HashMap<String, Object>(); VariableScopeInstance subprocessVariableScopeInstance = null; if (getForEachNode().getOutputVariableName() != null) { subprocessVariableScopeInstance = (VariableScopeInstance) getContextInstance(VariableScope.VARIABLE_SCOPE); ((NodeInstanceImpl)from).resolveContextInstance(VariableScope.VARIABLE_SCOPE, getForEachNode().getOutputVariableName()); Object outputVariable = null; if (variableScopeInstance != null) { outputVariable = variableScopeInstance.getVariable(getForEachNode().getOutputVariableName()); tempVariables.put(getForEachNode().getOutputVariableName(), outputVariable); String outputCollectionName = getForEachNode().getOutputCollectionExpression(); if (outputCollection != null) {
Map<String, Object> tempVariables = new HashMap<String, Object>(); VariableScopeInstance subprocessVariableScopeInstance = null; if (getForEachNode().getOutputVariableName() != null) { subprocessVariableScopeInstance = (VariableScopeInstance) getContextInstance(VariableScope.VARIABLE_SCOPE); ((NodeInstanceImpl)from).resolveContextInstance(VariableScope.VARIABLE_SCOPE, getForEachNode().getOutputVariableName()); Object outputVariable = null; if (variableScopeInstance != null) { outputVariable = variableScopeInstance.getVariable(getForEachNode().getOutputVariableName()); tempVariables.put(getForEachNode().getOutputVariableName(), outputVariable); String outputCollectionName = getForEachNode().getOutputCollectionExpression(); if (outputCollection != null) {