2 Replies Latest reply on Oct 28, 2012 10:07 PM by rickylkl

    anyone guide me how to access processinstance in split constraints?

    rickylkl Newbie

      Dear all,

       

      rule "Example validation rule"
          ruleflow-group "validate"

          when
              processInstance : WorkflowProcessInstance()
          then
              processInstance.setVariable("isValid", new Boolean(false));
      end

       

      that's wt i know to access processInstance in rule flow , drl file .

      But how do i get the isValid variable in SPLIT GATEWAY CONSTRAINTS ??

       

       

      THanks & Regards