[rules-users] How do I reference newly asserted facts?

Robert Crawford crawford at kloognome.com
Tue Dec 11 13:05:14 EST 2007


kissro at lidp.com wrote:
> When I return to my java program, after the fireAllRules() statement,
> I'm hoping to have available to me both the FNAC_CLIENT_CONTROL fact and
> the FNCM_COMMENT fact.  Is that true?  Will I have both available?
> If so, how do I access the FNCM_COMMENT fact if it's not in the LHS and
> I don't have a variable assigned to it?

Use a query. It's sort of a rule, but without a THEN portion; they're
documented in the manual. I'm not sure how the BRMS deals with queries.





More information about the rules-users mailing list