Can you add some code snippet or your test case? It shouldn't be any problem modifying a Fact inside a rule's action.
I’m trying to test some rules from a junit test. Inside the rule the fact is modified.
The fact is setup so that it matches the then condition in the rule, but still my asserts are failing in my test.
How do I get the fact back from the session, after the rules are fired.
Can someone point me to a link that has samples for testing a rule from a junit test. Its hard to find.
Thanks
RK.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users