<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: #000000'>Mike,<br><br> I ran into a similar issue when I began working with ruleflows a few weeks ago. Some of this may not be necessary and it's certainly not all causal, but this was what I noted when working my issue out:<br><br>1) If you're working in JBoss Dev Studio, it's possible that you have a conflict between the code you added as a runtime and what's already there, so try the process with a fresh install of eclipse<br>2) Ensure that any projects you currently have open do not have build/lib/classpath issues (I had the drools projects checked out and open and build errors caused unnecessary complications for me)<br>3) Be sure that your project has a META-INF on the classpath and that it's set up correctly<br>4) Place your drools.rulebase.conf & custom definitions .conf that it looks for are both in your META-INF under resources (src/main/resources/META-INF)<br>5) Once you're sure this much is correct, give Eclipse a restart - my project did not pick up my custom WI's until I restarted<br><br>If you're still having issues, I'll be on the IRC channel for the next 5 hours or so as jary - feel free to reply here or look me up there. <br>(well, I'm heading to lunch very soon, so back in around an hour)<br><br><div>Jeremy</div><br>----- Original Message -----<br>From: "Mike Gill" <mgill@modusoperandi.com><br>To: rules-users@lists.jboss.org<br>Sent: Monday, September 21, 2009 11:27:46 AM GMT -06:00 US/Canada Central<br>Subject: [rules-users] Using work items in the Eclipse ruleflow editor<br><br>
<style>
<!--
/* Font Definitions */
@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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-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;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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]-->
<div class="Section1">
<p class="MsoNormal">I am using Eclipse to build my Drools rulefow file. I am
trying to add custom work items, but I cannot seem to get anything (other than
Email and Log) to show up in my Work Items palette. </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Does anyone know how to get the existing work items (such as
FileFinder or Exec) to show up on the palette in eclipse? </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Eventually I will need to add custom work items to the flow,
so this is make-or-break Drools functionality for my team. </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">In pursuit of a solution to this I have combed the
documentation, this mailing list archive, as well as endless Google results to
no avail. Any help would be very valuable! <br>
<br>
</p>
<p class="MsoNormal">Thanks,</p>
<p class="MsoNormal">Mike</p>
<p class="MsoNormal"> </p>
</div>
<br>_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
</div></body></html>