Re: [rules-users] query in drools expert :: rule language

2011-12-26 Thread bobbi_80
Hi luane, thanks for that. Using the expression under eval() solves the problem. I don't develop the objects I am applying the rule against. So I have to make do with string datatype. cheers. -- View this message in context:

Re: [rules-users] query in drools expert :: rule language

2011-12-26 Thread Wolfgang Laun
The Drools version would be interesting, to raise a JIRA if it is 5.2.0. -W On 26 December 2011 09:05, bobbi_80 guruprasad_bo...@infosys.com wrote: Hi luane, thanks for that. Using the expression under eval() solves the problem. I don't develop the objects I am applying the rule against. So

Re: [rules-users] query in drools expert :: rule language

2011-12-26 Thread bobbi_80
sorry forgot to mention that part. I am using 5.3.0 final. -- View this message in context: http://drools.46999.n3.nabble.com/query-in-drools-expert-rule-language-tp3612345p3612453.html Sent from the Drools: User forum mailing list archive at Nabble.com.

[rules-users] Performance consideration in rule writing

2011-12-26 Thread Zhuo Li
Hi, team, I have some quick questions here regarding performance best practices of rule writing. See below two pieces of rules: Rule 1 Salience 100 No-loop true When $txn : data(sourceid == 5txnjustify==995eval(creditOption($txn)==1)eval(isGCSwitch($txn))i

[rules-users] +1 buttons added to the website (Drools, Guvnor and Planner)

2011-12-26 Thread Geoffrey De Smet
I 've added +1 buttons on these page for Drools, Guvnor and Planner in the top right corner: http://www.jboss.org/drools/drools-expert http://www.jboss.org/drools/drools-guvnor http://www.jboss.org/drools/drools-planner Click them if you like our software :) -- With kind regards, Geoffrey De

Re: [rules-users] +1 buttons added to the website (Drools, Guvnor and Planner)

2011-12-26 Thread Mauricio Salatino
Cool Geoffrey! jbpm.org needs that too! what happens with fusion? Cheers On Mon, Dec 26, 2011 at 10:23 AM, Geoffrey De Smet ge0ffrey.s...@gmail.com wrote: I 've added +1 buttons on these page for Drools, Guvnor and Planner in the top right corner: http://www.jboss.org/drools/drools-expert

Re: [rules-users] +1 buttons added to the website (Drools, Guvnor and Planner)

2011-12-26 Thread Geoffrey De Smet
The buttons are linked to their G+ brand pages (so if you +1 it there or on the jboss.org page, the result is the same). It's up to Edson and Mark to decide if they want a separate Fusion page too. Op 26-12-11 14:26, Mauricio Salatino schreef: Cool Geoffrey! jbpm.org needs that too! what

Re: [rules-users] Problems saving BPMN2 diagrams in Guvnor

2011-12-26 Thread Tihomir Surdilovic
Hi Christiano, the error message says that you have a sequence flow that has no targetRef attribute. Now you could either have a dangling sequence flow or this is a bug in the designer. If you can please show a screenshot of your process before saving it or describe what node types you have

Re: [rules-users] Performance consideration in rule writing

2011-12-26 Thread Wolfgang Laun
See below. 2011/12/26 Zhuo Li milanello1...@gmail.com Hi, team, ** ** I have some quick questions here regarding performance best practices of rule writing. See below two pieces of rules: ** ** Rule “1” Salience 100 No-loop true

[rules-users] 答复: Performance consideration in rule writing

2011-12-26 Thread Zhuo Li
Hi, Wolfgang, I think I’ve figured out some answers and see my shares below. Thanks and let me know your thoughts about #3. Best Abe 1. Will I gain better performance if I put the rule differentiator condition “compareToPostThreshold($txn)==2” at the beginning of both rule 1 and

Re: [rules-users] 答复: Performance consideration in rule writing

2011-12-26 Thread Wolfgang Laun
This ought to be another thread/another subject. 2011/12/26 Zhuo Li milanello1...@gmail.com Any question is also about performance consideration. See below example:* *** ** ** Rule “1” Dialect “mvel” Salience 300 No-loop true

[rules-users] 答复: 答复: Performance consideration in rule writing

2011-12-26 Thread Zhuo Li
Hi, Wolfgang, Thanks for the message. I think I’m clear about the listener piece now! Best Abe 发件人: rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] 代表 Wolfgang Laun 发送时间: 2011年12月26日 23:01 收件人: Rules Users List 主题: Re: [rules-users] 答复: Performance

Re: [rules-users] 答复: Performance consideration in rule writing

2011-12-26 Thread Wolfgang Laun
On 26/12/2011, Zhuo Li milanello1...@gmail.com wrote: //Abe: it definitely makes a difference if you put differentiator conditions at the beginning �C this way RETE won’t waste efforts constructing networks which will not fulfill. See below example. rule Evaluation of assignment in r-value

[rules-users] 答复: 答复: Performance consideration in rule writing

2011-12-26 Thread Zhuo Li
So for #1, you mean it is more from static variable safety to put uncommon conditions at the beginning of LHS? On #3, can you elaborate more about Making your rules depend on salience isn't good practice ? in general, what we need to define in every rule file is a business case, and every case

Re: [rules-users] 答复: 答复: Performance consideration in rule writing

2011-12-26 Thread Wolfgang Laun
2011/12/26 Zhuo Li milanello1...@gmail.com So for #1, you mean it is more from static variable safety to put uncommon conditions at the beginning of LHS? A static variable or a DRL global is something that must be used with caution in a rule's LHS. In any case, if it is read, it should be

[rules-users] Running rules from the past

2011-12-26 Thread Celso Junior
Hi folks, I work at a bank and I am currently studying the best way to use JBoss Rules so that it fits our needs. Our loan analysis process can take several months depending on the type of the loan. Although our business rules can evolve, a loan must follow the rules valid at the time the loan

Re: [rules-users] Running rules from the past

2011-12-26 Thread Ansgar Konermann
Am 26.12.2011 18:08 schrieb Celso Junior celso...@gmail.com: Hi folks, I work at a bank Me too (sort of) and I am currently studying the best way to use JBoss Rules so that it fits our needs. Our loan analysis process can take several months depending on the type of the loan. Although our

Re: [rules-users] Running rules from the past

2011-12-26 Thread Mauricio Salatino
Did you try Guvnor? it already store the snapshots version. So you can get the right snapshot for running your rules against an old Loan again. @Ansgar: why do you recommend to not use snapshots? Cheers 2011/12/26 Ansgar Konermann ansgar.konerm...@googlemail.com: Am 26.12.2011 18:08 schrieb

Re: [rules-users] Running rules from the past

2011-12-26 Thread Ansgar Konermann
Am 26.12.2011 18:16 schrieb Mauricio Salatino sala...@gmail.com: Did you try Guvnor? it already store the snapshots version. So you can get the right snapshot for running your rules against an old Loan again. @Ansgar: why do you recommend to not use snapshots? They change over time, making

Re: [rules-users] Running rules from the past

2011-12-26 Thread Mauricio Salatino
@Ansgar, it looks like you are doing in a database the work that it's being done by Guvnor, that keeps a lot of meta data for all the snapshots and it's ready to keep the snapshots forever, exposing them via a service, so you applications can get the right version. In the same way that you mention

Re: [rules-users] Running rules from the past

2011-12-26 Thread Ansgar Konermann
Hi, is there a distinction between snapshot and release versions at all in Guvnor? If I use snapshots only (referenced by an id) from my production code, how can I tell snapshots intended for development-only use and those for production use apart? How do I know which is the latest snapshot

[rules-users] Using hashmap in guided decision table in Guvnor

2011-12-26 Thread ankitmasrani
Hi, I am new to Drools and Guvnor and I have the following query: 1. I have uploaded a pojo model jar which has a class A containing a hashmapString, String attr1. 2. Then, I created a new rule- Guided decision table. 3. And i want to define a rule lets me select a key of the hashmap defined

Re: [rules-users] Using hashmap in guided decision table in Guvnor

2011-12-26 Thread ankitmasrani
Sorry, forgot to mention: I am using drools guvnor 5.3 -- View this message in context: http://drools.46999.n3.nabble.com/Using-hashmap-in-guided-decision-table-in-Guvnor-tp3613947p3613952.html Sent from the Drools: User forum mailing list archive at Nabble.com.