I am reading an excel sheet through DRT (rule template) and then converting it in to Object of a class through a static method in Java class. and also inserting it in to working memroty. In this way, working memory is filled up with all the facts from Excel sheet.
Now, I am sending facts through Java class in INSERT() through session. I need to match two similar object and return the matched objects from working memory. As for Example:
Read from Excel and inserted in to the Working memory.
Person(name == "Kumar", Age == 60, status == true);
Now in Java class, through session I am inserting the following object:
Person(name == "Kumar", Age == 60 );
and then I need to set Status = true
by comparing the two Objects.
I need to write the rule that will compare both objects.
Please suggest some way.
Thanks Shorav