I suppose you are seeing the Email and Log work item again but not your own?
That's basically the only name you shouldn't be using ;) The reason is that drools-core already contains a WorkDefinitions.conf file which is used by default and contains the Email and log work items (and has precendence over the user-specified one in the IDE). Kris PS: using a "resources" source folder instead of "src/main/resources" should also work (as long as it's a Java source folder, not just a regular folder in the project). Quoting bbking <badillo.br...@gmail.com>: > > As followup, I should note that when trying to change the > MyDefinitions.conf > name to WorkDefinitions.conf (and reflecting the change in the > drools.rulebase.conf file), the work item disappears. > > Does anyone know why this may be happening? > > > bbking wrote: > > > > Thanks so much! Following this screencast worked like a charm for > me! > > > > My problem was that I had been creating a resources folder under > root > > (which shows up as "resources" src folder in eclipse) rather than > > src/main/resources (which shows up as "src/main/resources" src > folder in > > eclipse). > > > > Thanks again, > > > > BB > > > > > > Kris Verlaenen wrote: > >> > >> I created a screencast of how to define a domain-specific work > item. > >> Could you verify this works for you? > >> http://people.redhat.com/kverlaen/DomainSpecificWorkItem.swf > >> > >> Kris > >> > >> Quoting bbking <badillo.br...@gmail.com>: > >> > >>> > >>> I've been attempting to contribute my own work item following > the > >>> instructions on this post and the drools flow user guide to no > >>> avail. > >>> > >>> I'm using Drools 5.0.1 in Eclipse which I added as a plugin > using > >>> the > >>> software updates. (checking the plugins folder I only have > >>> org.drools.eclipse_5.0.1 & org.drools.eclipse.task_5.0.1; i'm > not > >>> sure if > >>> that has anything to do with it) > >>> > >>> I've created a new drools project and created the resources > directory > >>> as a > >>> source directory and created the META-INF directory and put the > >>> necessary > >>> files in the directory. along with an icons package. > >>> > >>> Any insight? > >>> > >>> > >>> Jeremy Ary wrote: > >>> > > >>> > Mike, > >>> > > >>> > 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: > >>> > > >>> > 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 > >>> > 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) > >>> > 3) Be sure that your project has a META-INF on the classpath > and > >>> that it's > >>> > set up correctly > >>> > 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 ) > >>> > 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 > >>> > > >>> > 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. > >>> > >>> > (well, I'm heading to lunch very soon, so back in around an > hour) > >>> > > >>> > > >>> > Jeremy > >>> > ----- Original Message ----- > >>> > From: "Mike Gill" <mg...@modusoperandi.com> > >>> > To: rules-users@lists.jboss.org > >>> > Sent: Monday, September 21, 2009 11:27:46 AM GMT -06:00 > US/Canada > >>> Central > >>> > Subject: [rules-users] Using work items in the Eclipse > ruleflow > >>> editor > >>> > > >>> > > >>> > > >>> > > >>> > 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. > >>> > > >>> > > >>> > > >>> > Does anyone know how to get the existing work items (such as > >>> FileFinder or > >>> > Exec) to show up on the palette in eclipse? > >>> > > >>> > > >>> > > >>> > Eventually I will need to add custom work items to the flow, > so > >>> this is > >>> > make-or-break Drools functionality for my team. > >>> > > >>> > > >>> > > >>> > 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! > >>> > > >>> > > >>> > > >>> > Thanks, > >>> > > >>> > Mike > >>> > > >>> > > >>> > _______________________________________________ rules-users > mailing > >>> list > >>> > rules-users@lists.jboss.org > >>> > https://lists.jboss.org/mailman/listinfo/rules-users > >>> > _______________________________________________ > >>> > rules-users mailing list > >>> > rules-users@lists.jboss.org > >>> > https://lists.jboss.org/mailman/listinfo/rules-users > >>> > > >>> > > >>> > >>> -- > >>> View this message in context: > >>> > >> > http://n3.nabble.com/Re-Using-work-items-in-the-Eclipse-ruleflow-editor-tp61081p73373.html > >>> Sent from the Drools - User mailing list archive at Nabble.com. > >>> _______________________________________________ > >>> rules-users mailing list > >>> rules-users@lists.jboss.org > >>> https://lists.jboss.org/mailman/listinfo/rules-users > >>> > >> > >> > >> > >> > >> Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm > >> _______________________________________________ > >> rules-users mailing list > >> rules-users@lists.jboss.org > >> https://lists.jboss.org/mailman/listinfo/rules-users > >> > >> > > > > > > -- > View this message in context: > http://n3.nabble.com/Re-Using-work-items-in-the-Eclipse-ruleflow-editor-tp61081p93435.html > Sent from the Drools - User mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users