But the problem which I am having is
1st Insert
I inserted one object of type Employee in working memory with attributes id = 1, name = "ABC" and profession_type = "Salaried".
2nd Insert. 2nd Object
now if i try to insert one more object of type Employee with identical attribute values id = 1, name = "ABC" and profession_type = "Salaried", I do not want to insert the object of same attribute values in working memory, I want to validate against the working memory in drl file.
If there is change in attribute values, then I would like to insert into working memory.
Please let me know how modify() will help in this case. If you get me any code snippet which will be helpful.
Thanks
Ravi