Click here to Skip to main content
15,867,308 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How do I assert multiple facts programatically (C#) in the BRE, so that even if 'Retract' action has been used by one of the rules, the BRE should get another fact.

My complete scenario goes like this:

I made a policy having four rules, the first rule validates records, the second rule is retracting the fact used by the first rule, my third rule will assert the new facts into the BRE, and my last rule will use the fact asserted by the third rule and update the record. The facts I want to insert is the multiple instances of the same XML schema.
The result I'm getting after executing the policy is, my first two rules are fired but the third and fourth one were not because they are not getting the new fact.

So guys, please provide me help or any sort of suggestion that will solve my problem, as i'm scratching my head since the past 3-4 days :(
Posted
Updated 13-Mar-10 8:28am
v3

1 solution

not sure, but u need to update the fact in 2nd rule.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900