Do I have to process a Query to ensure that Implications are asserted as Facts?

StackOverflow https://stackoverflow.com/questions/16863618

  •  30-05-2022
  •  | 
  •  

Question

Tried to get this cleared from the Implementation doc; but I could only get that Implication and Queries are similar beasts. I also read Simple Facts & Queries, but that did not help on this count.

I commented out the Query section in my rule file and processed. The Implications were not asserted...I check this by dumping all Facts to a flat file.

I was hoping that Implications get Asserted during Process, even without a query, so that I can persist all the Facts (basic Facts asserted from VB & Implicated Facts) in a DB and then use it for certain stuff. Any way out ?

Thanks

Was it helpful?

Solution

Indeed Implications get Asserted during Process and no Query is needed for this to happen: there must be something else at play that makes the rules behave erratically.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top