Re: [rules-users] Drools Workflow functionality related doubt.

2009-08-12 Thread Eric Schabell
> Hi, > Hi! I will answer what I can here below inline: > I want to use Drool Workflow in one of my project. > I have some doubts about functionalities proovided by the Drools > Workflow, > as can they fullfill my requirements. > > 1. Is there support for multiple roles in a workflow? > Do you

Re: [rules-users] Drools Workflow functionality related doubt.

2009-08-12 Thread Kris Verlaenen
Hi, Most of this information can be found in one of the various Drools Flow documentation chapters. Quoting pardeep.ru...@lntinfotech.com: > 1.  Is there support for multiple roles in a workflow? I suppose you are referring to different human actors? Human tasks can be assigned to different user

Re: [rules-users] OSGI, classloading, and imports in KnowledgeBuilder

2009-08-12 Thread Lasse . Wallentin
> > I have tried the following: > > KnowledgeBuilderConfiguration builderConfiguration = > KnowledgeBuilderFactory.newKnowledgeBuilderConfiguration(null, > getClass().getClassLoader()); > KnowledgeBuilder kbuilder = > KnowledgeBuilderFactory.newKnowledgeBuilder(builderConfiguration); > Resourc

[rules-users] Drools Workflow functionality related doubt.

2009-08-12 Thread Pardeep . Ruhil
Hi, I want to use Drool Workflow in one of my project.I have some doubts about functionalities proovided by the Drools Workflow,as can they fullfill my requirements. 1.  Is there support for multiple roles in a workflow?2.  Does it checks for sufficient user rights to execute workflow actions?3.  C

[rules-users] How to create nested rules in Drool Guvnor

2009-08-12 Thread Pardeep . Ruhil
Hi,Thanks for replying.I have a scenario likeRule "shopping cart total exceeds 4000, give 50% discount"       when                then                  call Rule"if order is  between 6 to 9 pm, give additional discount of 20 %"endRule "if order between 6 to 9 pm give additional discount of 20 %"   

Re: [rules-users] using global variable in LHS

2009-08-12 Thread Miles, Eric
Not necessarily, particularly since his global is a List. You could also use it in a from clause. Ie: Global List someList; Rule "my rule" When Fact(val > 45) from someList; Then System.out.println("Woo hoo I'm happy"); end -Original Messag

Re: [rules-users] using global variable in LHS

2009-08-12 Thread Simon Thum
VÅM§Ï ® wrote: > Hi , > i have inserted global variable into working memory.It is an Array list > object. > it is working fine in RHS i.e in the "then" part. > i want to write a condition using this global variable in the LHS. > please let me know how can i use global variable in "when" part? Fact

[rules-users] using global variable in LHS

2009-08-12 Thread VÅM§Ï ®
Hi , i have inserted global variable into working memory.It is an Array list object. it is working fine in RHS i.e in the "then" part. i want to write a condition using this global variable in the LHS. please let me know how can i use global variable in "when" part? regards, Vamsi Krishna.Kavuri.

Re: [rules-users] OSGI, classloading, and imports in KnowledgeBuilder

2009-08-12 Thread Lasse . Wallentin
Lasse Wallentin | APC by Schneider Electric | Senior Software Developer Phone: ++45 72 190 134 | Mobile: ++45 41 37 7974 Email: lasse.wallen...@apc.com | Address: Silcon Allé 1, DK-6000 Kolding *** Please consider the environment before printing this e-mail rules-users-boun...@lis

Re: [rules-users] Organizing Rules in Large Enterprise across multiple business lines

2009-08-12 Thread Sumant Kumar
From: Ross H To: Rules Users List Sent: Wednesday, August 12, 2009 3:19:24 AM Subject: Re: [rules-users] Organizing Rules in Large Enterprise across multiple business lines A very good question, and one I think very important to the Drools community. There

Re: [rules-users] OSGI, classloading, and imports in KnowledgeBuilder

2009-08-12 Thread Simon Thum
lasse.wallen...@apcc.com wrote: >>> Can anyone sketch a setup so that I can use Drools from within an > Eclipse >>> plugin? >> I've got it running. You need to make sure your classloaders are the >> right ones. >> I use the >> new PackageBuilderConfiguration(Classloader, Properties) >> >> ctor (i

Re: [rules-users] OSGI, classloading, and imports in KnowledgeBuilder

2009-08-12 Thread Lasse . Wallentin
> > Can anyone sketch a setup so that I can use Drools from within an Eclipse > > plugin? > I've got it running. You need to make sure your classloaders are the > right ones. > I use the > new PackageBuilderConfiguration(Classloader, Properties) > > ctor (if you're setting CL later, Properties m

Re: [rules-users] OSGI, classloading, and imports in KnowledgeBuilder

2009-08-12 Thread Simon Thum
> Can anyone sketch a setup so that I can use Drools from within an Eclipse > plugin? I've got it running. You need to make sure your classloaders are the right ones. I use the new PackageBuilderConfiguration(Classloader, Properties) ctor (if you're setting CL later, Properties may fail to apply)

Re: [rules-users] OSGI, classloading, and imports in KnowledgeBuilder

2009-08-12 Thread Lasse . Wallentin
> [...] Therefore, OSGi does not add that package to the > bundle's ClassLoader and you get a ClassNotFoundException when Drools > attempts to find the Class. Even when adding the Drools runtime jars in the bundle using them I run into problems. When using Drools (version 5.0.1) from within an O

Re: [rules-users] Organizing Rules in Large Enterprise across multiple business lines

2009-08-12 Thread Ross H
A very good question, and one I think very important to the Drools community. There is no doubt in my mind that Drools provides significant functionality that can address this question, but it is up to us as the user community to come up with specific use cases/stories that challenge the current fr