[rules-users] getting details of facts triggering rules

Archie Russell archier at gmail.com
Wed Feb 16 15:47:44 EST 2011


Hi,

I've tried to figure this out but haven't been able to.

How can I, from the RHS, figure out the details of what triggered a rule.
I can access the facts individually by name,  but how do I do it in a
generic fashion that would work in the RHS of any rule?

I am using decisiontables and want to be able to have a function that is
something like printTriggeringDetails()

I came across drools.getTuple but am not sure if that's the correct path
to go on.   From there I get InternalFactHandles but don't know how to turn
those into human-readable facts.

Thanks for any help,
Archie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110216/1999b8b3/attachment.html 


More information about the rules-users mailing list