I'm new to the mailing list so I'll start off by saying hello to everyone. I've recently started using DROOLS and I seem to have hit a dead end. I'm trying to pass in an enum and a list into the working memory one at a time but I would like my rule to first see if it the enum matches a hard coded enum value. Additionally, I would also like the rule to see if the enum value that is being passed to the working memory happens to fall in the list or not. First of all, is it possible to do that in one rule? I've been trying to do that using "&&" and "contains" keywords but I'm not getting anywhere. I don't have the code in front of me or I would've pasted it but I hope you can understand my point. Any help that I can get in this matter will be greatly appreciated.
Thanks,
Armaghan