[rules-users] Does a drools fact have a handle?

Yoncho Yonchev yoncho.yonchev at abv.bg
Fri Feb 21 04:22:12 EST 2014


Hello, in order to distinguish my fact instances I need them to have some sort of number/id. Before implementing it I realized that the KieSession is not working with my business instance references,  but with FactHandles, so it occurs to me that there might be some standard id that is defined and populated by  the Drools in runtime.  
  So here is my question - Can a fact be identified by some sort of identifier after KieSession execution?  May be if we get the FactHandles from it, or if we use the KieBase for that?

  Thanks in advance!
Yoncho Yonchev. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140221/50a8c757/attachment.html 


More information about the rules-users mailing list