Thanks for ur reply Mark but I am not getting the
expected result. I have attached a demo rule file to test application
data.
Please have a look at the attached demo rule file
where I have used application data. I changed the value of count(global
variable) to Integer(0) in Rule 1 and I am getting null in Rule
2.
here is the outcome when the rules are
fired.
0
null
Please see where am I making mistake.
With Regards
Amit
----- Original Message -----
From: "Mark Proctor" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, November 16, 2005 1:13
PM
Subject: Re: [drools-user] Data Sharing in
rules
> objects.
> Amit Jain wrote:
> > HI!
> >
> > I need a variable which i want to use in all my rules. If i change the value
> > of this variable it should be vissible in other rules as well. Is it
> > possible to do something like that in rule file. I tried to use application
> > data but the value its changed in one rule is nto vissible in other.
> >
> > With Regards
> > Amit
> >
> >
> >
> >
> >
>
