]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.support.simple/src/main/java/org/argeo/slc/core/execution/ExecutionContext.java
Improve execution specs
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.simple / src / main / java / org / argeo / slc / core / execution / ExecutionContext.java
index 97f7268b67cf91320158cd885902faa060f42450..732dd819e3d71425b1fe5c09b5417a97e9e3268a 100644 (file)
@@ -61,8 +61,8 @@ public class ExecutionContext {
                Map<String, ExecutionSpecAttribute> specAttrs = executionFlow
                                .getExecutionSpec().getAttributes();
                for (String key : specAttrs.keySet()) {
-                       ExecutionSpecAttribute esa = specAttrs.get(key);
-                       if (esa.getIsParameter()) {
+                       //ExecutionSpecAttribute esa = specAttrs.get(key);
+                       if (executionFlow.isSetAsParameter(key)) {
                                runtime.getLocalVariables().put(key,
                                                executionFlow.getParameter(key));
                                if (log.isTraceEnabled())