Re: [rules-users] part time intern @ Red Hat

2014-05-11 Thread Bharadwaj N
Hi, Any update on this?



On Tue, Apr 1, 2014 at 6:35 PM, Mark Proctor  wrote:

> No, there will be one potential position. I will contact individuals who
> showed interest shortly.
>
> Mark
>
> On 1 Apr 2014, at 13:13, Bharadwaj N  wrote:
>
> So you are preparing a team?
>
>
> On Tue, Apr 1, 2014 at 5:26 PM, Mark Proctor wrote:
>
>> Just confirming your email, I’m still waiting for all responses, before
>> contacting people further.
>> Mark
>>
>> On 21 Mar 2014, at 08:52, Bharadwaj N  wrote:
>>
>> I am interested. please let me know the full details.
>>
>>
>>
>>
>>
>> Thanks,
>>
>> Bharadwaj nakka.
>> Techlead at techmahindra.
>>
>>
>> On Thu, Mar 20, 2014 at 9:28 PM, Mark Proctor wrote:
>>
>>> I have a small budget for a part time intern for one year, 12K USD. The
>>> work can be 100% remote, from almost any country. This will mostly be UI
>>> work, improving our workbench.
>>>
>>> If this interests you, email me off list.
>>>
>>> Mark
>>> ___
>>> 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
>>
>>
>>
>> ___
>> 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
>
>
>
> ___
> 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

Re: [rules-users] Is there a better way to write this rule?

2014-04-23 Thread Bharadwaj N
rule "Discount Egypt"
salience 0
when
$T : TripRequest ( destination == "Egypt" )
$dest: DiscountResult()
then
$dest=$T.getResult();
   $dest.setDiscount(5);
end


On Wed, Apr 23, 2014 at 2:07 PM, Leonard93 wrote:

> When I have the following rule:
>
> rule "Discount Egypt"
> salience 0
> when
> $T : TripRequest ( destination == "Egypt" )
> then
> ((DiscountResult) $T.getResult()).setDiscount(5);
> end
>
>
> Is there a better way to do the 'then' part of the rule (when it comes to
> formatting, but still executes the same thing)?
> My request object has a result object that has a method called setDiscount
> that needs to be called.
>
> The setDiscount cannot be in the request object because there are multiple
> kinds of Result Objects, thus the casting to its type.
>
> This rule works fine, I was just wondering if there are any easier ways to
> do it. I already found out you can do 'destination' instead of
> 'getDestination()' which helps make the rules more readable.
>
>
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Is-there-a-better-way-to-write-this-rule-tp4029327.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> ___
> 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

Re: [rules-users] part time intern @ Red Hat

2014-04-01 Thread Bharadwaj N
So you are preparing a team?


On Tue, Apr 1, 2014 at 5:26 PM, Mark Proctor  wrote:

> Just confirming your email, I'm still waiting for all responses, before
> contacting people further.
>
> Mark
>
> On 21 Mar 2014, at 08:52, Bharadwaj N  wrote:
>
> I am interested. please let me know the full details.
>
>
>
>
>
> Thanks,
>
> Bharadwaj nakka.
> Techlead at techmahindra.
>
>
> On Thu, Mar 20, 2014 at 9:28 PM, Mark Proctor wrote:
>
>> I have a small budget for a part time intern for one year, 12K USD. The
>> work can be 100% remote, from almost any country. This will mostly be UI
>> work, improving our workbench.
>>
>> If this interests you, email me off list.
>>
>> Mark
>> ___
>> 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
>
>
>
> ___
> 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

Re: [rules-users] part time intern @ Red Hat

2014-03-21 Thread Bharadwaj N
I am interested. please let me know the full details.





Thanks,

Bharadwaj nakka.
Techlead at techmahindra.


On Thu, Mar 20, 2014 at 9:28 PM, Mark Proctor  wrote:

> I have a small budget for a part time intern for one year, 12K USD. The
> work can be 100% remote, from almost any country. This will mostly be UI
> work, improving our workbench.
>
> If this interests you, email me off list.
>
> Mark
> ___
> 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

Re: [rules-users] ResourceChangeScannerImpl - Thread stop problem (v5.5.0 final)

2014-03-20 Thread Bharadwaj N
Try this.
http://stackoverflow.com/questions/7729399/how-to-quiet-drools-resource-scanner-logging


On Thu, Mar 20, 2014 at 1:32 PM, alineasol wrote:

> Any idea about this?
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/ResourceChangeScannerImpl-Thread-stop-problem-v5-5-0-final-tp4027160p4028821.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> ___
> 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

Re: [rules-users] KnowledgeAgentImpl memory leak (5.5.0.Final)

2014-03-19 Thread Bharadwaj N
It's not problem with KnowledgeAgentImpl  Try to increase permgen space in
tomcat Catalina.bat.



Thanks,


Bharadwaj nakka


On Wed, Mar 19, 2014 at 10:01 PM, Davide Sottara  wrote:

> Can you try version 5.6?
>
> On 03/19/2014 05:27 PM, alineasol wrote:
> > Hello,
> >
> > We have a  KnowledgeAgent with this configuration:
> >* drools.resource.scanner.interval = 900
> >* drools.agent.monitorChangeSetEvents = "true"
> >* drools.agent.scanResources = "true"
> >* drools.agent.scanDirectories = "true"
> >* drools.agent.newInstance = "false"
> >* drools.resource.urlcache = /path/cache
> >
> > We have noticed a memory leak in the class KnowledgeAgentImpl when the
> > resources are down. The KnowledgeAgentImpl begins to reload from cache
> all
> > the resources every scanner interval they are not reachable. The
> > KnowledgeAgentImpl object increases its size every loop causing a Java
> Perm
> > Gen error.
> >
> > We use:
> >* drools release 5.5.0.Final
> >* jdk1.6.0_45
> >* apache tomcat 7.0.42
> >
> >
> > Any suggestion?
> >
> > Thank you.
> >
> >
> >
> > --
> > View this message in context:
> http://drools.46999.n3.nabble.com/KnowledgeAgentImpl-memory-leak-5-5-0-Final-tp4028798.html
> > Sent from the Drools: User forum mailing list archive at Nabble.com.
> > ___
> > 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
>
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] ClassCastException: MVELDialectConfiguration cannot be cast to DialectConfiguration

2013-03-26 Thread Bharadwaj N
the key to the problem is this line in the error listing: "Caused by:
java.lang.RuntimeException: The Eclipse JDT Core jar is not in the
classpath"

This reference is to the library "core-3.4.2.v_883_R34x.jar" which is
installed by the Eclipse Drools plugin

If you add core-3.4.2.v_883_R34x.jar to your libraries then you won't get
the runtime exception.


On Tue, Mar 26, 2013 at 12:59 PM, Peach Wyss  wrote:

> Hy
>
> I get the following error:
> ...
>Caused by: org.drools.RuntimeDroolsException: Unable to load dialect
> 'org.drools.rule.builder.dialect.mvel.MVELDialectConfiguration:mvel:org.drools.rule.builder.dialect.mvel.MVELDialectConfiguration'
> at
> org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:313)
> ...
> ... 42 more
> Caused by: java.lang.ClassCastException:
> org.drools.rule.builder.dialect.mvel.MVELDialectConfiguration cannot be
> cast to org.drools.compiler.DialectConfiguration
> at
> org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:308)
> ... 51 more
>
> I'm using drools in a maven project, pom.xml:
> ...
> 
> org.drools
> drools-compiler
> 5.5.0.Final
> 
> 
> org.drools
> drools-core
> 5.5.0.Final
> 
> ...
>
> What could cause this error?
>
> Thanks for your help.
>
> Kind regards,
> Peter
>
> ___
> 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

Re: [rules-users] The buss pass example of inference results in compilation errors, how to solve these?

2013-03-20 Thread Bharadwaj N
Can you show me Debtor class ?


On Wed, Mar 20, 2013 at 12:56 PM, ajklunder2
wrote:

> Thanks,
>
> Is that the solution? That seems odd to me because IsBadDebtor is an
> inferred object and should have the class Debtor. When you have to declare
> a class for every type of inferred object you are using that would be
> strange. These classes would extend the class where they are inferred from
> and would be totally empty: no own attributes, nor methods. They would only
> be declared to solve this compilation issue.
>
>
> It seems u have not imported the IsBadDebtor class in your drool file
>>
>
>
>> If it's inner class of Debtor then use as Debtor.IsBadDebtor.drools
>> compiler unable to find IsBadDebtor
>>
>>
>>
>> Thanks,
>>
>> Bharadwaj nakka.
>>
>>
>> On Wed, Mar 20, 2013 at 12:14 PM, ajklunder2 <[hidden 
>> email]
>> > wrote:
>>
>>> Hi,
>>>
>>> In the Drools documentation is "the buss pass" example of how to use
>>> inference.
>>>
>>> rule "Infer Adult"
>>> when
>>>   $p : Person( age >= 18 )
>>> then
>>>   insert( new IsAdult( $p ) )
>>> end
>>>
>>> However, when I try this myself I get compilation errors on IsAdult and a
>>> missing ";" after the insert statement. (I am using the Drools plugin in
>>> Eclipse)
>>>
>>> Here is an example of my own what has the same issue:
>>>
>>> //list any import classes here.
>>> import com.example.vdc.VdcLandingPage;
>>> import com.invoicestore.domain.Debtor;
>>>
>>> //declare any global variables here
>>> global VdcLandingPage UI;
>>>
>>>
>>> rule "Infer bad debtor"
>>>
>>> when
>>> $debtor : Debtor( isBadDebtor() == true )
>>> then
>>> insert( new IsBadDebtor( $debtor ) );
>>> end
>>>
>>>
>>> BuildError: Unable to Analyse Expression drools.insert( new IsBadDebtor(
>>> $debtor ) );:
>>> [Error: Failed to compileShared: 1 compilation error(s):
>>>  - (1,16) could not resolve class: IsBadDebtor]
>>> [Near : {... drools.insert( new IsBadDebtor( $debtor ) ); }]
>>> ^
>>> [Line: 23, Column: 0]
>>>
>>> I have studied the Drools documentation and cannot find anything what
>>> might
>>> lead to a solution. I have tried to set the dialect to "mvel" but that is
>>> not solving the problem.
>>>
>>> Any suggestions how to solve this?
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://drools.46999.n3.nabble.com/The-buss-pass-example-of-inference-results-in-compilation-errors-how-to-solve-these-tp4022912.html
>>> Sent from the Drools: User forum mailing list archive at Nabble.com.
>>> ___
>>> rules-users mailing list
>>> [hidden email] 
>>> https://lists.jboss.org/mailman/listinfo/rules-users
>>>
>>
>>
>> ___
>> rules-users mailing list
>> [hidden email] 
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>> --
>>  If you reply to this email, your message will be added to the
>> discussion below:
>>
>> http://drools.46999.n3.nabble.com/The-buss-pass-example-of-inference-results-in-compilation-errors-how-to-solve-these-tp4022912p4022913.html
>>  To unsubscribe from The buss pass example of inference results in
>> compilation errors, how to solve these?, click here.
>> NAML
>>
>
>
> --
> View this message in context: Re: [rules-users] The buss pass example of
> inference results in compilation errors, how to solve 
> these?
>
> Sent from the Drools: User forum mailing list 
> archiveat 
> Nabble.com.
>
> ___
> 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

Re: [rules-users] The buss pass example of inference results in compilation errors, how to solve these?

2013-03-19 Thread Bharadwaj N
It seems u have not imported the IsBadDebtor class in your drool file.

If it's inner class of Debtor then use as Debtor.IsBadDebtor.drools
compiler unable to find IsBadDebtor



Thanks,

Bharadwaj nakka.


On Wed, Mar 20, 2013 at 12:14 PM, ajklunder2
wrote:

> Hi,
>
> In the Drools documentation is "the buss pass" example of how to use
> inference.
>
> rule "Infer Adult"
> when
>   $p : Person( age >= 18 )
> then
>   insert( new IsAdult( $p ) )
> end
>
> However, when I try this myself I get compilation errors on IsAdult and a
> missing ";" after the insert statement. (I am using the Drools plugin in
> Eclipse)
>
> Here is an example of my own what has the same issue:
>
> //list any import classes here.
> import com.example.vdc.VdcLandingPage;
> import com.invoicestore.domain.Debtor;
>
> //declare any global variables here
> global VdcLandingPage UI;
>
>
> rule "Infer bad debtor"
>
> when
> $debtor : Debtor( isBadDebtor() == true )
> then
> insert( new IsBadDebtor( $debtor ) );
> end
>
>
> BuildError: Unable to Analyse Expression drools.insert( new IsBadDebtor(
> $debtor ) );:
> [Error: Failed to compileShared: 1 compilation error(s):
>  - (1,16) could not resolve class: IsBadDebtor]
> [Near : {... drools.insert( new IsBadDebtor( $debtor ) ); }]
> ^
> [Line: 23, Column: 0]
>
> I have studied the Drools documentation and cannot find anything what might
> lead to a solution. I have tried to set the dialect to "mvel" but that is
> not solving the problem.
>
> Any suggestions how to solve this?
>
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/The-buss-pass-example-of-inference-results-in-compilation-errors-how-to-solve-these-tp4022912.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> ___
> 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

Re: [rules-users] JBoss As 7 with guvnor 5.4 - package build error: cannot resolve identifier

2012-08-01 Thread Bharadwaj N
hi,

You can just upload the pojo model jar from guvnar and add dependency jars
if required and build it.

no need to put pojo model jars inside  guvnor.war/WEB-INF/libs
On Thu, Aug 2, 2012 at 12:17 PM, rodolphio
wrote:

> Hi,
>
>
> I expanded the guvnor.war/WEB-INF/libs with new library demo.jar.
>
> In all rules the access on every Class in demo.jar is possible with
> x.y.z.DemoClass.
>
>
> But the access to a public subclass in the class x.y.z.DemoClass
> x.y.z.DemoClass.DemoSuclass does not work, causes "cannot resolve
> identifier" on trying to build the package in guvnor.
>
>
> Any idea?
>
> Thanks for your feedback.
>
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/JBoss-As-7-with-guvnor-5-4-package-build-error-cannot-resolve-identifier-tp4018984.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> ___
> 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


Re: [rules-users] Inserting facts using declared types from XML

2012-05-29 Thread Bharadwaj N
XStream is a simple library to serialize objects to XML and back again.

Sometimes it can get tedious to call all those XStream aliases/register
converter methods or you might simply like the new trend on configuring
POJOs: Java annotations.

While using annotations if you ever got this exception the there might be a
change that you forgot to call process annotation

XStream stream = new XStream(new DomDriver());
stream.processAnnotations(YourClassName.class);

Calling stream.processAnnotations(YourClassName.class); will clear down
this exception.


On Tue, May 29, 2012 at 11:40 PM, Francois Rouaix  wrote:

> Folks,
> I'm trying to use Drools in a mostly Java-less environment (rules are
> written in .drl files, facts will be inserted from XML files). I'm running
> into an issue where the XStream unmarshaller is unable to convert my XML to
> a BatchExecutionCommand because it cannot find the class for a type
> declared in the .drl file.
> Is there any configuration required to make sure the XStream marshaller
> knows about the dynamically generated classes from the .drl?
> I'd appreciated any clues. I cannot add POJO classes for my types due to
> the nature of the app.
> Thanks.
>
>
> DRL file
> ---
> package com.example
> declare Answers
> 
> end
> /* some rules after this */
> ...
>
> XML file
> ---
> 
>   
>
>
>
>
> Runner code
> public static void Run(String xmlFactsFile, String drlFilename)
> {
>  // Compile the drl file
> KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
>  kbuilder.add( ResourceFactory.newFileResource(drlFilename),
> ResourceType.DRL );
>  if ( kbuilder.hasErrors() ) {
> System.err.println( kbuilder.getErrors().toString() );
>  throw new RuntimeException("Cannot compile \"" + drlFilename + "\"");
> }
>  // kbase setup from the compiled rules
> KnowledgeBase kbase = KnowledgeBaseFactory.newKnowledgeBase();
>  kbase.addKnowledgePackages( kbuilder.getKnowledgePackages() );
>  StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession();
>  File facts = new File(xmlFactsFile);
> BatchExecutionCommand command = (BatchExecutionCommand)
> BatchExecutionHelper.newXStreamMarshaller().fromXML(facts);
>  ExecutionResults bresults = ksession.execute(command);
>
> System.out.println(BatchExecutionHelper.newXStreamMarshaller().toXML(bresults));
>  }
> }
>
> Error at runtime
> --
> Exception in thread "main"
> com.thoughtworks.xstream.converters.ConversionException:
> com.example.Answers : com.example.Answers
>  Debugging information 
> message : com.example.Answers
> cause-exception :
> com.thoughtworks.xstream.mapper.CannotResolveClassException
> cause-message   : com.example.Answers
> class   : org.drools.command.runtime.rule.InsertObjectCommand
> required-type   : org.drools.command.runtime.rule.InsertObjectCommand
> converter-type  :
> org.drools.runtime.help.impl.XStreamXML$InsertConverter
> path: /batch-execution/insert/com.example.Answers
> line number : 3
> class[1]: org.drools.command.runtime.BatchExecutionCommandImpl
> converter-type[1]   :
> com.thoughtworks.xstream.converters.reflection.ReflectionConverter
> version : null
> ---
> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79)
> at
> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
> at
> com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:318)
> at
> com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:230)
> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
> at
> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
> at
> com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1035)
> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1019)
> at com.thoughtworks.xstream.XStream.fromXML(XStream.java:930)
> at
> com.intentsoft.RulesEngine.RulesExecution.Run(RulesExecution.java:34)
> at 

Re: [rules-users] how to use only updated value in drools

2012-05-29 Thread Bharadwaj N
use update(e);

On Tue, May 29, 2012 at 4:42 PM, learner  wrote:

> I tried using insert but still the issue persists
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/rules-users-how-to-use-only-updated-value-in-drools-tp4017628p4017635.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> ___
> 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


Re: [rules-users] how to use only updated value in drools

2012-05-29 Thread Bharadwaj N
can u please share ur drl file?

On Tue, May 29, 2012 at 4:05 PM, Vincent LEGENDRE <
vincent.legen...@eurodecision.com> wrote:

> what is the initial value of b ?
> what are the salience of your rules ?
> and why not posting your rules directly ?
>
> - Original Message -
> From: "learner" 
> To: rules-users@lists.jboss.org
> Sent: Mardi 29 Mai 2012 12:29:28
> Subject: [rules-users] how to use only updated value in drools
>
> I am having a drl file with 2 rules
>
> The 1st rule updates a attribute, say updates attribute b to 10 based on
> some condition.
>
> The 2nd rule has a check for values with b not equal to 10. It logs error
> for those values not equals to 10.
>
> The b value gets updated to 10 in rule 1. However in the second rule it
> does
> not use updated value and logs error.
>
> Is there a way to use the updated b value in the 2nd rule. I tried using
> modify but still the error gets logged.
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/how-to-use-only-updated-value-in-drools-tp4017626.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> ___
> 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
>
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] need help or any links customizing guvnor

2012-05-28 Thread Bharadwaj N
Refer this blog http://bharadwaj-bobby.blogspot.in/ u'll get to know how to
create rules in guvnor gui.
On Tue, May 29, 2012 at 12:29 AM, Michael Anstis
wrote:

> Do you want to add a new editor to Guvnor, or use a Guvnor editor in your
> own application?
>
>
> On 28 May 2012 19:51, Abdullah Shaikh  wrote:
>
>> Hi,
>>
>> I am new to drools & guvnor. I was able to create simple drl file and
>> run from classpath and from guvnor too using url.
>>
>> I saw that we can create rules in guvnor but I want to know if we can
>> provide UI for creating rules ? I am not sure but I think what I want
>> is guided editor ?
>>
>>
>> Thanks,
>> Abdullah
>> ___
>> 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
>
>
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users