<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tunga;
        panose-1:0 0 4 0 0 0 0 0 0 0;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:sans-serif;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
tt
        {font-family:"Courier New";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Tahoma;
        color:blue;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=blue face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:blue'>I am implementing the selector
functionality to build out package mentioned in the Guvnor documentation but
facing issues while getting it to work. I am using a drl file for the selector
criteria and this is the error I am getting:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:blue'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><b><font size=2 color=blue face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:blue;font-weight:bold'>org.drools.CheckedDroolsException:
There were errors in the rule source: Unable to create Field Extractor for
'statusDescription' of '[ClassObjectType
class=org.drools.repository.AssetItem]' in rule 'rule1' : [Rule name='rule1']<o:p></o:p></span></font></b></p>

<p class=MsoNormal><font size=2 color=blue face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:blue'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:blue'>This is my drl file:<o:p></o:p></span></font></p>

<p class=MsoNormal><b><font size=2 color=blue face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:blue;font-weight:bold'>ProductionAssets.drl<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:blue;font-weight:bold'><o:p>&nbsp;</o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:blue;font-weight:bold'>package
org.drools.guvnor.server.selector<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:blue;font-weight:bold'><o:p>&nbsp;</o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:blue;font-weight:bold'>dialect
&quot;mvel&quot;<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:blue;font-weight:bold'><o:p>&nbsp;</o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:blue;font-weight:bold'>import
org.drools.repository.AssetItem<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:blue;font-weight:bold'>import
org.drools.guvnor.server.selector.Allow<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:blue;font-weight:bold'><o:p>&nbsp;</o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:blue;font-weight:bold'>rule
&quot;rule1&quot;<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:blue;font-weight:bold'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; when<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:blue;font-weight:bold'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AssetItem(statusDescription
==&quot;Production&quot;)<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:blue;font-weight:bold'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; then<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:blue;font-weight:bold'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; insert(new
Allow())<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:blue;font-weight:bold'>end<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:blue;font-weight:bold'><o:p>&nbsp;</o:p></span></font></b></p>

<p class=MsoNormal><font size=2 color=blue face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:blue'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:blue'>Please can anyone help me with this?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:blue'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:blue'>Thanks.<o:p></o:p></span></font></p>

<div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><strong><b><font
size=2 color=navy face=Tunga><span style='font-size:10.0pt;font-family:Tunga;
color:navy'><o:p>&nbsp;</o:p></span></font></b></strong></p>

<p class=MsoNormal style='mso-margin-top-alt:5.0pt;margin-right:0in;margin-bottom:
5.0pt;margin-left:0in'><strong><b><i><font size=2 color=blue face=Tunga><span
style='font-size:10.0pt;font-family:Tunga;color:blue;font-style:italic'>Thanks
and Regards<o:p></o:p></span></font></i></b></strong></p>

<p class=MsoNormal><strong><b><i><font size=2 color="#999999"
face="Times New Roman"><span style='font-size:10.0pt;color:#999999;font-weight:
normal;font-style:italic'>Rohan V&nbsp;Mahashabde<o:p></o:p></span></font></i></b></strong></p>

<p class=MsoNormal><strong><b><i><font size=2 color="#999999"
face="Times New Roman"><span style='font-size:10.0pt;color:#999999;font-weight:
normal;font-style:italic'>Consultant - Infosys Technologies Ltd<o:p></o:p></span></font></i></b></strong></p>

<p class=MsoNormal><strong><b><i><font size=2 color="#999999"
face="Times New Roman"><span style='font-size:10.0pt;color:#999999;font-weight:
normal;font-style:italic'>CRE Loan Solution Dev<o:p></o:p></span></font></i></b></strong></p>

<p class=MsoNormal><strong><b><i><font size=2 color="#999999"
face="Times New Roman"><span style='font-size:10.0pt;color:#999999;font-weight:
normal;font-style:italic'>Ext: 980.683.5539<o:p></o:p></span></font></i></b></strong></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><strong><b><font
size=2 color=navy face=Tunga><span style='font-size:10.0pt;font-family:Tunga;
color:navy'>&nbsp;</span></font></b></strong><strong><b><font size=2
color=navy face=Tunga><span style='font-size:10.0pt;font-family:Tunga;
color:navy'><o:p></o:p></span></font></b></strong></p>

</div>

</div>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
rules-users-bounces@lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] <b><span style='font-weight:bold'>On
Behalf Of </span></b>Steve Ronderos<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, October 08, 2009
9:26 AM<br>
<b><span style='font-weight:bold'>To:</span></b> Rules Users List<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [rules-users] State
management in Guvnor</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
</span></font><font size=2 face=sans-serif><span style='font-size:10.0pt;
font-family:sans-serif'>Check out &quot;selectors&quot; in section 1.2.5.3 of
the Guvnor Documentation </span></font><a
href="http://downloads.jboss.com/drools/docs/5.0.1.26597.FINAL/drools-guvnor/html_single/index.html#d0e233"><font
size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>http://downloads.jboss.com/drools/docs/5.0.1.26597.FINAL/drools-guvnor/html_single/index.html#d0e233</span></font></a>
<br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'><br>
</span></font>Steve Ronderos <br>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>rules-users-bounces@lists.jboss.org
wrote on 10/08/2009 06:35:39 AM:</span></font></tt><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
<br>
<tt><font face="Courier New">&gt; [image removed] </font></tt></span></font><br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>&gt; </span></font></tt><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
<tt><font face="Courier New">&gt; [rules-users] State management in Guvnor</font></tt></span></font>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>&gt; </span></font></tt><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
<tt><font face="Courier New">&gt; Ambika Goel </font></tt></span></font><br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>&gt; </span></font></tt><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
<tt><font face="Courier New">&gt; to:</font></tt></span></font> <br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>&gt; </span></font></tt><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
<tt><font face="Courier New">&gt; rules-users@lists.jboss.org</font></tt></span></font>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>&gt; </span></font></tt><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
<tt><font face="Courier New">&gt; 10/08/2009 06:41 AM</font></tt></span></font>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>&gt; </span></font></tt><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
<tt><font face="Courier New">&gt; Sent by:</font></tt></span></font> <br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>&gt; </span></font></tt><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
<tt><font face="Courier New">&gt; rules-users-bounces@lists.jboss.org</font></tt></span></font>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>&gt; </span></font></tt><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
<tt><font face="Courier New">&gt; Please respond to Rules Users List</font></tt></span></font>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>&gt; </span></font></tt><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
<tt><font face="Courier New">&gt; Hi All, </font></tt></span></font><br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>&gt; &nbsp;</span></font></tt>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>&gt; What is
the significance of Status in Guvnor. I have added multiple </span></font></tt><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
<tt><font face="Courier New">&gt; statuses like Production, Testing etc. </font></tt></span></font><br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>&gt; How can
I use it to differentiate between rules. I want to run &nbsp;only</span></font></tt><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
<tt><font face="Courier New">&gt; the rules under production status. How to do
it</font></tt></span></font> <br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>&gt; &nbsp;</span></font></tt>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>&gt; &nbsp;</span></font></tt>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>&gt;
&nbsp;_______________________________________________</span></font></tt><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
<tt><font face="Courier New">&gt; rules-users mailing list</font></tt><br>
<tt><font face="Courier New">&gt; rules-users@lists.jboss.org</font></tt><br>
<tt><font face="Courier New">&gt; </font></tt></span></font><a
href="https://lists.jboss.org/mailman/listinfo/rules-users"><tt><font size=2
face="Courier New"><span style='font-size:10.0pt'>https://lists.jboss.org/mailman/listinfo/rules-users</span></font></tt></a><o:p></o:p></p>

</div>

</body>

</html>