Drools version 6.0, dialect "mvel":
package com.sample
import java.util.*;
import java.util.ArrayList;
rule "Internal Assignment with Map using constant and path"
dialect "mvel"
when
$map: Map(this["EmailED.subject"] == "hello there")
then
ActionParam actionParam = new ActionParam();
List actionParamList = new ArrayList();
List actionList = new ArrayList();
--
View this message in context:
http://drools.46999.n3.nabble.com/Then-part-of-DRL-file-can-not-use-Java-...
Sent from the Drools: User forum mailing list archive at
Nabble.com.