VariableScopeInstance subprocessVariableScopeInstance = null; if (getForEachNode().getOutputVariableName() != null) { subprocessVariableScopeInstance = (VariableScopeInstance) getContextInstance(VariableScope.VARIABLE_SCOPE);
VariableScopeInstance variableScopeInstance = (VariableScopeInstance) forEachNodeInstance.getContextInstance( VariableScope.VARIABLE_SCOPE); if ( variableScopeInstance != null ) { List<Map.Entry<String, Object>> variables = new ArrayList<Map.Entry<String, Object>>( variableScopeInstance.getVariables().entrySet() );
(ForEachNodeInstance) nodeInstance, processInstance ); VariableScopeInstance variableScopeInstance = (VariableScopeInstance) ((ForEachNodeInstance) nodeInstance).getContextInstance( VariableScope.VARIABLE_SCOPE ); for ( JBPMMessages.Variable _variable : _node.getContent().getForEach().getVariableList() ) { try {
VariableScopeInstance subprocessVariableScopeInstance = null; if (getForEachNode().getOutputVariableName() != null) { subprocessVariableScopeInstance = (VariableScopeInstance) getContextInstance(VariableScope.VARIABLE_SCOPE);
VariableScopeInstance variableScopeInstance = (VariableScopeInstance) forEachNodeInstance.getContextInstance( VariableScope.VARIABLE_SCOPE); if ( variableScopeInstance != null ) { List<Map.Entry<String, Object>> variables = new ArrayList<Map.Entry<String, Object>>( variableScopeInstance.getVariables().entrySet() );
(ForEachNodeInstance) nodeInstance, processInstance ); VariableScopeInstance variableScopeInstance = (VariableScopeInstance) ((ForEachNodeInstance) nodeInstance).getContextInstance( VariableScope.VARIABLE_SCOPE ); for ( JBPMMessages.Variable _variable : _node.getContent().getForEach().getVariableList() ) { try {