[rules-users] Ruleflow loop until condition

2009-04-08 Thread Alessandro Terrinoni
Hello I created a ruleflow like this one: http://i41.tinypic.com/2efmctx.jpg And this is the rule package (rules are demonstrative only and one per group, but later on more will be added in each group. package package1 #list any import classes here. ... #declare any global variables here

[rules-users] Explicit class cast in RHS

2009-04-08 Thread Alessandro Terrinoni
Hello in my working memory I insert an object like this public class Foo{ private IntType prop; ... } where IntType is a class, but in practice prop is either of type TypeA or TypeB, both extending the IntType class. then i have a rule like this: rule abc when

Re: [rules-users] Explicit class cast in RHS

2009-04-08 Thread David Sinclair
rule abc when Foo($prop : prop) TypeA (this == $prop, name == PropertyA) then ... 2009/4/8 Alessandro Terrinoni aleterrin...@hotmail.com Hello in my working memory I insert an object like this public class Foo{ private IntType prop; ... } where IntType is a class, but in

[rules-users] Vacation reply

2009-04-08 Thread nik_sharma75
Hey,how are you doing recently? I would like to introduce you a very good company and its website is www.welt188.com It can offer you all kinds of electronic products that you may be in need,such as laptops ,gps ,TV LCD,cell  phones,ps3,MP3/4,motorcycles and etc You can take some time to

[rules-users] Vacation reply

2009-04-08 Thread nik_sharma75
Hey,how are you doing recently? I would like to introduce you a very good company and its website is www.welt188.com It can offer you all kinds of electronic products that you may be in need,such as laptops ,gps ,TV LCD,cell  phones,ps3,MP3/4,motorcycles and etc You can take some time to

Re: [rules-users] Explicit class cast in RHS

2009-04-08 Thread Edson Tirelli
The RHS of rules contain semantic code based on the dialect you are using. In your example, java. So, just cast it: ( (TypeA) p ).methodFromTypeA(); []s Edson 2009/4/8 Alessandro Terrinoni aleterrin...@hotmail.com Hello in my working memory I insert an object like this public

Re: [rules-users] JPA persistence for Drools Flow

2009-04-08 Thread Marc Dzaebel
Kris Verlaenen wrote: Note that the model of the history information is different from the runtime model, and contains all the nodes that were triggered (and possibly completed). So new data gets added to this process instance log every time something new happens, there's no different