This is not possible with 5.2.
With 5.4 you can create a decision table with a column defined as a BRL fragment (guided rule editor).
This will allow you to use "matches" or "sounds like". Matches could also be used to emulate "starts with" or "ends with" given the correct regular expression.
This JIRA https://issues.jboss.org/browse/GUVNOR-1086 will also be of interest to you.
Otherwise, if 5.2 is your only choice, you could look at using a Rule Template instead.
With kind regards,
Mike
Hi Guys,
Have been using Guvnor to create some decision tables and got a few
questions on the use of certain Operators in the Condition Columns - what
value do you put in for matches and sounds like?
Basically i want to create a condition where i can check starts with or end
with in relation to a string, is this possible using the perdefined
operators or how would i acheive this? so if i want to check "Hello" to see
if it starts with "He" - what value would put in the field?
Using Guvnor 5.2.0
Any help would be appreciated!
Gary
--
View this message in context: http://drools.46999.n3.nabble.com/decision-Tables-Operators-starts-with-end-with-tp4018473.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