Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-3071

Two rules in tandem

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • jBPM 5.0
    • Runtime Engine
    • None

      There are two Rule task in the process.

      Content of the first Rule task:
      rule "Your First Rule"
      ruleflow-group "rfgroup"
      dialect "mvel"
      when
      p: java.awt.Point(x==10)
      then
      p.x=20;
      System.out.println("Rule fired");
      end

      Content of the second Rule task:
      rule "Your Second Rule"
      ruleflow-group "rfgroup2"
      dialect "mvel"
      when
      java.awt.Point(x==20)
      then
      System.out.println("Rule 2 fired")
      end

      The problem is, that the second rule is never fired - change ot he Point object is not transfered.

            kverlaen@redhat.com Kris Verlaenen
            thuryn-doxologic Tomas Huryn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: