Hi all,
 
I  am finding diffcult of understanding the below two things. When it will useful and how to use it in the sample coding:
For example:
I am having the Employee bean. In the RHS, if I used assert(new empBean()) or assertLogical(new empBean()) means what it's doing? What is the meaning of it?
 
"assert(new Something());" will place a new object of your creation in working memory.
"assertLogical(new Something());" is similar to assert, but the object will be automatically retracted when there are no more facts to support the truth of the currently firing rule.
 
 

 

Get email for your site ---> http://www.everyone.net