[rules-users] question on adding manual workitemwithin floweditor

Pang, Yonghua YPang at StateStreet.com
Mon Jul 27 04:56:57 EDT 2009


Hi Alan,

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.

 

Regards, 
Paul

 

From: rules-users-bounces at lists.jboss.org [mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Alan.Gairey at tessella.com
Sent: Monday, July 27, 2009 4:49 PM
To: Rules Users List
Subject: Re: [rules-users] question on adding manual workitemwithin floweditor

 


Paul, 

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.) 

 

Hope this helps, 

Alan 

Tessella plc
26 The Quadrant, Abingdon Science Park, Abingdon, Oxfordshire, OX14 3YS
E: Alan.Gairey at tessella.com, T: +44 (0)1235 555511, F: +44 (0)1235 553301
www.tessella.com    Registered in England No. 1466429 

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. 





"Pang, Yonghua" <YPang at statestreet.com> 
Sent by: rules-users-bounces at lists.jboss.org 

27/07/2009 09:41 

Please respond to
Rules Users List <rules-users at lists.jboss.org>

To

"Rules Users List" <rules-users at lists.jboss.org> 

cc

	
Subject

Re: [rules-users] question on adding manual workitem within        floweditor

 

		




Thanks for your quick response but actually I’ve set that folder as src folder to ensure the they are in classpath at runtime. 
  
Paul   
  
From: rules-users-bounces at lists.jboss.org [mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Alan.Gairey at tessella.com
Sent: Monday, July 27, 2009 4:19 PM
To: Rules Users List
Subject: Re: [rules-users] question on adding manual workitem within floweditor 
  

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.

Alan 

Tessella plc
26 The Quadrant, Abingdon Science Park, Abingdon, Oxfordshire, OX14 3YS
E: Alan.Gairey at tessella.com, T: +44 (0)1235 555511, F: +44 (0)1235 553301
www.tessella.com    Registered in England No. 1466429 

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. 

 

"Pang, Yonghua" <YPang at statestreet.com> 
Sent by: rules-users-bounces at lists.jboss.org 

27/07/2009 08:15 

 

Please respond to
Rules Users List <rules-users at lists.jboss.org>

 

To

<rules-users at lists.jboss.org> 

cc

	
Subject

[rules-users] question on adding manual workitem within flow editor


  

 

		




Hi, 

I’m a newbie of Drools and I just met  a problem when learning Drools Flow according to Drools online documents. 

I create a workitem, Notification, 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. 

However, this new  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? 

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. 

The work environment is JDK5, Drools5, Eclipse 3.4.5 and GEF 3.5. 

The two conf files are also attached. 

<<drools.rulebase.conf>> <<MyWorkDefinitions.conf>> 

Thanks, 

Paul_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users 





_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users








-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090727/12d02ceb/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 4353 bytes
Desc: image001.gif
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20090727/12d02ceb/attachment.gif 


More information about the rules-users mailing list