[rules-users] using "From" keyword in the rule

Wolfgang Laun wolfgang.laun at gmail.com
Sat Jul 27 02:11:20 EDT 2013


There is no reason why this should not compile.

I suspect that you have not posted the *accurate* text of the rule
where that error occurred. Does the snippet you've mailed
cause the same error?

-W

On 26/07/2013, IPatel <ishita.patel at usbank.com> wrote:
> Thank you for your replay... here is what i am using
> package POC2013
> dialect "mvel"
> import  com.usbank.tmup.rules.value.Database
> import  com.usbank.tmup.rules.value.TestValue
> import  com.usbank.tmup.rules.value.DatabaseConnection
>
> rule "getting user"
>
> when
> $value: TestValue()
> record : POC_CombineString($value.getField1(),$value.getField2())	
> val : TestValue() from Database.connect().getUserRisk(record);
> then
> 	System.out.println("The value of the score is" + val);
> end
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/using-From-keyword-in-the-rule-tp4025163p4025165.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>


More information about the rules-users mailing list