[rules-users] Help needed - Problems with forall operator

Jared Davis sunray at davisprogramming.com
Fri Nov 6 15:45:39 EST 2009


I think this usage may work for your case. 

rule "somerule"
  when
    report: CreditReport( $parentCreditReport_1_Id : myId)
    forall ( 
      FICO( parentId == $parentCreditReport_1_Id, validScoreIndicator == false)
    )
  then
    System.out.print("Fired on " + $parentCreditReport_1_Id );
end
 





More information about the rules-users mailing list