Hi There,

  Im wondering weather the Following rule would work properly,

   rule "abc"

     when

          a : PlaceHolder(value == 1)
          b : PlaceHolder(value == 2)

     then
      System.out.println("print");
.........................
workingmemory.insert(placeholderobject1);
workingmemory.insert(placeholderobject2);
workingmemory.fireAllRules();
..........................................

when i tried, the code is working fine, but How can the rule here is able to
diffirentiate between two facts of same type? any help would be very much
appriciated.

Thank you,
bala.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to