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.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to