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

2013-07-26 Thread Wolfgang Laun
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 wrote: > Thank you for your replay... here is what i am using > package POC

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

2013-07-26 Thread IPatel
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_CombineSt

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

2013-07-26 Thread Wolfgang Laun
On 26/07/2013, IPatel wrote: > Hi, > > I am trying to use the From keyword when writing rule and i am getting > following error: > mismatched input 'from' in rule > parser returned a null package > > here is my use case, i am getting a user and i calling a database to get > some number associated

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

2013-07-26 Thread IPatel
Hi, I am trying to use the From keyword when writing rule and i am getting following error: mismatched input 'from' in rule parser returned a null package here is my use case, i am getting a user and i calling a database to get some number associated with this user Does anyone know why i am get

Re: [rules-users] Event Processing in Drools

2013-07-26 Thread laune
Add this after your last insertion: clock.advanceTime(1, TimeUnit.MILLISECONDS); I'm not sure why you have to do this, though. Perhaps it is a bug in Drools. -- View this message in context: http://drools.46999.n3.nabble.com/Event-Processing-in-Drools-tp4025029p4025161.html Sent from th

Re: [rules-users] ruleEventProcessingType=STREAM not working with DRL resource from Guvnor

2013-07-26 Thread mredhat
Replying hoping to get some feedback from the experts! -- View this message in context: http://drools.46999.n3.nabble.com/ruleEventProcessingType-STREAM-not-working-with-DRL-resource-from-Guvnor-tp4024964p4025160.html Sent from the Drools: User forum mailing list archive at Nabble.com.

Re: [rules-users] Event Processing in Drools

2013-07-26 Thread mredhat
Glad that helped. I am running into problem with my event processing now as well. Using REALTIME clockType with a simple this after rule but it fires all the time! Did you find a solution to your problem? -- View this message in context: http://drools.46999.n3.nabble.com/Event-Processing-in-

Re: [rules-users] Decision Table: Access values in other columns from a different column

2013-07-26 Thread nkhogen
Thanks Ramon Buckland. I think you are setting the values in a cell first (after reading from other cells) and reading the value in the DRL of the ACTION in the same column. For example, I want to add all the values in CONDITION columns to a list in ACTION and at the same time read an unrelat

Re: [rules-users] Decision Table: Access values in other columns from a different column

2013-07-26 Thread Ramon Buckland
Hi, I am not sure if you are using Excel to write up the decision tables.. But I found that the Spreadsheet Compiler honours the values that the XLS formulas calculate. For example: If I have a table where the "Row values" start at A20. I can put into A20 .. =$X$1 & "some value" & $Y$2 or

[rules-users] Decision Table: Access values in other columns from a different column

2013-07-26 Thread nkhogen
Is there a way to access values in other cells from a different cell of the same row in Decision Table? Rewriting of the constants in CONDITION can be avoided in the ACTION especially in OR scenario where the facts in the activated rules do not have all the constants which are used in comparison.