The conflict resolution strategy has 'specificity' one of the rules.
According to which I should have got a 100 or 120.
Please help me understand this.
If there is some recommended reading for the same, that would also be
helpful.
Another question is - how can I view/change the conflict resoluti
Well, the pattern matchin will have to be done twice.
With your method you can save the repeated pattern compilation
by creating a static Pattern p = Pattern.compile().
The pattern suggests that it might be possible to do a String.split on
"," and take the String[3] as your group. Also, the patte
Hello,
I am trying to understand the logic of firing of rules.
I have the given rules without any salience, so all rules are at the same
priority.
http://drools.46999.n3.nabble.com/file/n4019409/Capture3.png
When I fire a rule with values of
shailesh, exe, mehta and buy I get the fees as 10.
Hi Laune:
Thanks for your comments and suggestions.
Actually that's what I am doing . firstly match the string in the LHS and then
on the RHS I call the java method parsingZ4_Ph_Reach()--details as followed I
took it as a compromised solution but not sure how it will influence the
efficiency. A
Although there is the "matches" operator, Drools isn't a sophisticated
regular expression engine.
Once you have matched a fact with a String line that matches some
regular expression, you'll have to reapply the regular expression on
the right hand side so that you can extract the string matching g
Hi:
I am trying to match a string to my regular expression and then capture
certain groups from the string.
I know previously there is no such feature , but I am just wondering if
there is one now?
Basically , what am trying to do is, insert strings into the session, and
carry out the reasoning
Put this code into method of Policy with the signature
List getValidAB()
where the returned List either contains the element you want or is
empty. Then you can write
rule "find first 'car'"
when
$p1:Policy()
$carList: List( size > 0 )
from collect ( Vehicle( name == "car" )
Thanks!
I had completely overlooked the installation instructions at
http://docs.jboss.org/jbpm/v5.2/userguide/ch10.html#d0e3022
-- des
From: rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Esteban Aliverti
Sent: Sunday, August 26, 2012 9:0