How to get the perticular value in the drools when block.
I am looking for something like this but its not working:
I have inserted Hashmap into Working memory and trying to retrieve it in When
$expiry_date:HashMap(get("CREDIT_CARD_EXPIRATION_DATE"));
eval(ageInDays($expiry_date)>10) ;
I get below error
[42,37]: [ERR 101] Line 42:37 no viable alternative at input '"CREDIT_CARD_EXPIRATION_DATE"' in rule "Rule1" in pattern HashMap