[rules-users] Not able to detect how to correct ERR 102

ankit3j ankit3j at gmail.com
Fri Mar 21 07:47:11 EDT 2014


Below is a sample DSLR code I am trying out. Now I am getting error in "when"
block. After hours of trying to search for a solution I have not yet been
able to detect the error.

package com.sample
import com.sample.*;
//expander sample.dsl
rule "hello rule"
        when
                There is a "$customer" with first name "David"  // This is
where the error is
        then
                Greet Customer
end

[ERR 102] Mismatched input "is" in rule "hello rule"

Any idea whats wrong with this line?? 



--
View this message in context: http://drools.46999.n3.nabble.com/Not-able-to-detect-how-to-correct-ERR-102-tp4028884.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list