6 Replies Latest reply on Jan 6, 2009 4:48 PM by Petr Nejedly

    JBPM process vars duplications when using @In+@Out together

    asaf sh Expert


      With JBPM injecting/outjecting a process var causes another variable to be inserted to the process vars instead of an update,

      Something like:

      @In(scope=ScopeType.BUSINESS_PROCESS, required=false) 
      @Out(scope=ScopeType.BUSINESS_PROCESS, required=false)
      String myProperty;

      Will insert everytime call another process var, using

      Contexts.getBusinessProcessContext().set(myProperty,"new Value");

      Updates the current var,

      Is it a bug?