|
Hi,
I have a question about
asserting facts in a jess engine from a java program. I have this template with
me :
(deftemplate cust_order (slot order-num) (slot
item-id) (slot qty) (slot date-of-order))
and I assert a fact as:
rete.assertString("(cust_order (order-num 10)
(item-id 2) (qty 25) (date-of-order 21))");
however, the above fact does not get inserted. I
get an error message saying
"Bad index in Value Vector.get()" while
executing (batch test.clp)
test.clp is a file which has the template I defined
above.
I am unable to understand this problem. Would
really appreciate if you could help me with this..
Waiting to hear from you,
Thanks,
Archana
|
- Re: JESS: qst about fact assertions.. Archana Raghavendra
