This is not possible with 5.2.<br><br>With 5.4 you can create a decision table with a column defined as a BRL fragment (guided rule editor).<br><br>This will allow you to use &quot;matches&quot; or &quot;sounds like&quot;. Matches could also be used to emulate &quot;starts with&quot; or &quot;ends with&quot; given the correct regular expression.<br>
<br>This JIRA <a href="https://issues.jboss.org/browse/GUVNOR-1086">https://issues.jboss.org/browse/GUVNOR-1086</a> will also be of interest to you.<br><br>Otherwise, if 5.2 is your only choice, you could look at using a Rule Template instead.<br>
<br>With kind regards,<br><br>Mike<br><br><div class="gmail_quote">On 4 July 2012 18:09, gok45 <span dir="ltr">&lt;<a href="mailto:gary.william.okane@citi.com" target="_blank">gary.william.okane@citi.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Guys,<br>
<br>
Have been using Guvnor to create some decision tables and got a few<br>
questions on the use of certain Operators in the Condition Columns - what<br>
value do you put in for matches and sounds like?<br>
<br>
Basically i want to create a condition where i can check starts with or end<br>
with in relation to a string, is this possible using the perdefined<br>
operators or how would i acheive this? so if i want to check &quot;Hello&quot; to see<br>
if it starts with &quot;He&quot; - what value would put in the field?<br>
<br>
Using Guvnor 5.2.0<br>
<br>
Any help would be appreciated!<br>
<br>
Gary<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/decision-Tables-Operators-starts-with-end-with-tp4018473.html" target="_blank">http://drools.46999.n3.nabble.com/decision-Tables-Operators-starts-with-end-with-tp4018473.html</a><br>

Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br>