anonymous wrote : btw, hasVariableLocally should not contain the variable if it 
has no 'read' attribute, see the initializeVariables in the TaskController or 
the snippet in my post above. Strange....

I don't think it's working like it should then. I tried the following:
<variable name='IsReplacement' access='write,required'></variable>

And retrieved all local variables, and printed them out:
Map variables = startTaskInstance.getVariablesLocally();
  |             if (variables != null) {
  |                     for (Iterator it = 
variables.keySet().iterator();it.hasNext();) {
  |                             String variableName = (String)it.next();
  |                             String variableValue = 
(String)variables.get(variableName);
  |                             System.out.println(variableName+": 
"+variableValue);
  |                     }
  |             }
Is still found/printed the "IsReplacement" variable with a null value.

IsReplacement: null

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084125#4084125

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084125
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to