<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:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=Generator content="Microsoft Word 12 (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:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@宋体";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

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

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi Alan,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Thanks so much. It works! By mistake I put my .conf files
directly in src folder rather than in META-INF. I the correct folder structure is
 a must.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>Regards,</span><span style='color:#1F497D'> <br>
</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>Paul<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'> </span><span style='font-size:
11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
rules-users-bounces@lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] <b>On Behalf Of </b>Alan.Gairey@tessella.com<br>
<b>Sent:</b> Monday, July 27, 2009 4:49 PM<br>
<b>To:</b> Rules Users List<br>
<b>Subject:</b> Re: [rules-users] question on adding manual workitemwithin
floweditor<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Paul,</span> <br>
<br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>I don't know if
the directory structure is significant, but I've attached a screenshot of how
the files are configured within my project - with this structure, the work
items appear in the RuleFlow editor. (I'm using Eclipse 3.5, but I'm pretty
sure this should still work with earlier versions.)</span> <br>
<br>
<img width=222 height=206 id="_x0000_i1025"
src="cid:image001.gif@01CA0EDA.F92DFB00"><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'><br>
</span><br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Hope this
helps,</span> <br>
<br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Alan</span> <o:p></o:p></p>

<p><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Tessella
plc</span></b><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><br>
26 The Quadrant, Abingdon Science Park, Abingdon, Oxfordshire, OX14 3YS<br>
E: Alan.Gairey@tessella.com, T: +44 (0)1235 555511, F: +44 (0)1235 553301<br>
www.tessella.com &nbsp; &nbsp;Registered in England No. 1466429</span> <o:p></o:p></p>

<p><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>This message
is commercial in confidence and may be privileged. It is intended for the
addressee(s) only. Access to this message by anyone else is unauthorized and
strictly prohibited. If you have received this message in error, please inform
the sender immediately. Please note that messages sent or received by the
Tessella e-mail system may be monitored and stored in an information retrieval
system.</span> <o:p></o:p></p>

<p style='margin-bottom:12.0pt'><br>
<br>
<o:p></o:p></p>

<table class=MsoNormalTable border=0 cellpadding=0 width="100%"
 style='width:100.0%'>
 <tr>
  <td width="40%" valign=top style='width:40.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><b><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>&quot;Pang,
  Yonghua&quot; &lt;YPang@statestreet.com&gt;</span></b><span style='font-size:
  7.5pt;font-family:"Arial","sans-serif"'> </span><br>
  <span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Sent by:
  rules-users-bounces@lists.jboss.org</span> <o:p></o:p></p>
  <p><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>27/07/2009
  09:41</span> <o:p></o:p></p>
  <table class=MsoNormalTable border=1 cellpadding=0>
   <tr>
    <td valign=top style='background:white;padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal align=center style='text-align:center'><span
    style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Please respond to<br>
    Rules Users List &lt;rules-users@lists.jboss.org&gt;</span><o:p></o:p></p>
    </td>
   </tr>
  </table>
  </td>
  <td width="59%" valign=top style='width:59.0%;padding:.75pt .75pt .75pt .75pt'>
  <table class=MsoNormalTable border=0 cellpadding=0 width="100%"
   style='width:100.0%'>
   <tr>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal align=right style='text-align:right'><span
    style='font-size:7.5pt;font-family:"Arial","sans-serif"'>To</span><o:p></o:p></p>
    </td>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>&quot;Rules
    Users List&quot; &lt;rules-users@lists.jboss.org&gt;</span> <o:p></o:p></p>
    </td>
   </tr>
   <tr>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal align=right style='text-align:right'><span
    style='font-size:7.5pt;font-family:"Arial","sans-serif"'>cc</span><o:p></o:p></p>
    </td>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'></td>
   </tr>
   <tr>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal align=right style='text-align:right'><span
    style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Subject</span><o:p></o:p></p>
    </td>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Re:
    [rules-users] question on adding manual workitem within &nbsp; &nbsp;
    &nbsp; &nbsp;floweditor</span><o:p></o:p></p>
    </td>
   </tr>
  </table>
  <p class=MsoNormal><o:p>&nbsp;</o:p></p>
  <table class=MsoNormalTable border=0 cellpadding=0>
   <tr>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'></td>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'></td>
   </tr>
  </table>
  </td>
 </tr>
</table>

<p><br>
<br>
<br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#004080'>Thanks
for your quick response but actually I’ve set that folder as src folder to
ensure the they are in classpath at runtime.</span> <br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#004080'>&nbsp;</span>
<br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#004080'>Paul
</span><span style='color:#004080'>&nbsp;</span> <br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#004080'>&nbsp;</span>
<br>
<b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
rules-users-bounces@lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] <b>On Behalf Of </b>Alan.Gairey@tessella.com<b><br>
Sent:</b> Monday, July 27, 2009 4:19 PM<b><br>
To:</b> Rules Users List<b><br>
Subject:</b> Re: [rules-users] question on adding manual workitem within
floweditor</span> <br>
&nbsp; <br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><br>
You need to make sure that the folder that contains your .conf files is marked
as a Source Folder within Eclipse - hopefully it should then work OK.</span><br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><br>
Alan</span> <o:p></o:p></p>

<p><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Tessella
plc</span></b><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><br>
26 The Quadrant, Abingdon Science Park, Abingdon, Oxfordshire, OX14 3YS<br>
E: Alan.Gairey@tessella.com, T: +44 (0)1235 555511, F: +44 (0)1235 553301<br>
www.tessella.com &nbsp; &nbsp;Registered in England No. 1466429</span> <o:p></o:p></p>

<p><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>This message
is commercial in confidence and may be privileged. It is intended for the
addressee(s) only. Access to this message by anyone else is unauthorized and
strictly prohibited. If you have received this message in error, please inform
the sender immediately. Please note that messages sent or received by the
Tessella e-mail system may be monitored and stored in an information retrieval
system.</span> <o:p></o:p></p>

<p><o:p>&nbsp;</o:p></p>

<table class=MsoNormalTable border=0 cellpadding=0 width="100%"
 style='width:100.0%'>
 <tr>
  <td width="40%" valign=top style='width:40.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><b><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>&quot;Pang,
  Yonghua&quot; &lt;YPang@statestreet.com&gt;</span></b><span style='font-size:
  7.5pt;font-family:"Arial","sans-serif"'> <br>
  Sent by: rules-users-bounces@lists.jboss.org</span> <o:p></o:p></p>
  <p><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>27/07/2009
  08:15</span> <o:p></o:p></p>
  <p><o:p>&nbsp;</o:p></p>
  <table class=MsoNormalTable border=1 cellpadding=0 style='border:outset 3.0pt'>
   <tr>
    <td valign=top style='background:white;padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal align=center style='text-align:center'><span
    style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Please respond to<br>
    Rules Users List &lt;rules-users@lists.jboss.org&gt;</span><o:p></o:p></p>
    </td>
   </tr>
  </table>
  </td>
  <td width="59%" valign=top style='width:59.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><o:p>&nbsp;</o:p></p>
  <table class=MsoNormalTable border=0 cellpadding=0 width="100%"
   style='width:100.0%'>
   <tr>
    <td width="9%" valign=top style='width:9.0%;padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal align=right style='text-align:right'><span
    style='font-size:7.5pt;font-family:"Arial","sans-serif"'>To</span><o:p></o:p></p>
    </td>
    <td width="90%" valign=top style='width:90.0%;padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>&lt;rules-users@lists.jboss.org&gt;</span>
    <o:p></o:p></p>
    </td>
   </tr>
   <tr>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal align=right style='text-align:right'><span
    style='font-size:7.5pt;font-family:"Arial","sans-serif"'>cc</span><o:p></o:p></p>
    </td>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'></td>
   </tr>
   <tr>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal align=right style='text-align:right'><span
    style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Subject</span><o:p></o:p></p>
    </td>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>[rules-users]
    question on adding manual workitem within flow editor</span><o:p></o:p></p>
    </td>
   </tr>
  </table>
  <p class=MsoNormal><br>
  &nbsp; <o:p></o:p></p>
  <p><o:p>&nbsp;</o:p></p>
  <table class=MsoNormalTable border=0 cellpadding=0>
   <tr>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'></td>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'></td>
   </tr>
  </table>
  </td>
 </tr>
</table>

<p><br>
<br>
<br>
Hi, <o:p></o:p></p>

<p>I’m a newbie of Drools and I just met &nbsp;a problem when learning Drools
Flow according to Drools online documents. <o:p></o:p></p>

<p>I create a workitem,<i> Notification</i>, exactly according to Chapter 8 in
Drools Flow Doc. I create MyWorkDefinitions.conf and drools.rulebase.conf, and
then put them in classpath. Also, I create one image to be used by the item. <o:p></o:p></p>

<p>However, this new &nbsp;workitem is not found in RuleFlow Editor. I’m not
sure if something else is needed. Can you guys please guide me to adding new workitem
and dragging/drawing it in RuleFlow Editor? <o:p></o:p></p>

<p>FYI. Though the RuleFlow editor cannot work with the new workitem, the XML
style works. I mean, I could manually change the XML of .rf file to use the new
workitem. <o:p></o:p></p>

<p>The work environment is JDK5, Drools5, Eclipse 3.4.5 and GEF 3.5. <o:p></o:p></p>

<p>The two conf files are also attached. <o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&lt;&lt;drools.rulebase.conf&gt;&gt;
&lt;&lt;MyWorkDefinitions.conf&gt;&gt; </span><o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Thanks,</span>
<o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Paul</span><span
style='font-size:10.0pt;font-family:"Courier New"'>_______________________________________________<br>
rules-users mailing list<br>
rules-users@lists.jboss.org<br>
https://lists.jboss.org/mailman/listinfo/rules-users</span> <o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><br>
<br>
<br>
<br>
</span><tt><span style='font-size:10.0pt'>_______________________________________________</span></tt><span
style='font-size:10.0pt;font-family:"Courier New"'><br>
<tt>rules-users mailing list</tt><br>
<tt>rules-users@lists.jboss.org</tt><br>
<tt>https://lists.jboss.org/mailman/listinfo/rules-users</tt></span><o:p></o:p></p>

<p style='margin-bottom:12.0pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><br>
<br>
<br>
<br>
<br>
</span><o:p></o:p></p>

</div>

</body>

</html>