Can somone give some direction of how to pass these variables to JESS
(perhaps to the working memory) in order for the rules to evaluate the data?

Hi,

Two things:

1. Jess has the store / fetch mechanism for passing variables between
Jess scripting and Java proper.  See section 8.3. in the online
documentation entitled "Transferring values between Jess and Java
code".

2. Generally, try to think of asserting facts as the proper way of
passing data to Jess, not calling a function in Jess.  When you find
yourself wanting to assign a value to a Jess variable via a function
call, ask yourself "can I do this by asserting a fact and letting a
rule handle that fact?".  That said, you can write functions that
assert facts.

Cheers,
Jason

-----------------------------------------------------
Morris Technical Solutions LLC
www.morristechnicalsolutions.com
[EMAIL PROTECTED]
phone/fax: 503.692.1088


--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to