[rules-users] Knowledge Base Agent : getLastModified

2011-11-18 Thread Vishwanath Dubey
Hi, It seems Rule Agent does not check does not provide credential to get last modified time for a snpashot of a package and also on Guvnor side no security check is provided when last modified time is retreived for the snapshot of respective package. Relevant security check is only provided when

Re: [rules-users] Can't open bpmn from Visual Editor in Process Editor

2011-11-18 Thread ANJALI
i have download 1.0.0.055 version from source forge and tried the same thing but i dint solve my problem the above error is only coming Regards, Anjali -- View this message in context: http://drools.46999.n3.nabble.com/Can-t-open-bpmn-from-Visual-Editor-in-Process-Editor-tp3514796p3520379.html

Re: [rules-users] Exclude certain rules

2011-11-18 Thread Davide Sottara
The problem of "excluding rules" is well known and tackled by the so-called "defeasible logic". I have plans to work on a drools implementation in the near future, but unfortunately it is not currently supported. However, Michael is right: the declarative agenda would be the basis for a "low-lev

Re: [rules-users] Exclude certain rules

2011-11-18 Thread Michael Anstis
Just a random thought but would the declarative agenda (for 5.3?) provide any help? sent on the move On 18 Nov 2011 21:23, "Jamie" wrote: > I don't think you can reference a fact in the enabled condition. There's > also no way to get a reference to the current rule like you can in the RHS, > w

Re: [rules-users] Exclude certain rules

2011-11-18 Thread Jamie
I don't think you can reference a fact in the enabled condition. There's also no way to get a reference to the current rule like you can in the RHS, which is why I had to hard code the name. Vincent, thanks for the comment out the inheritance. I think that would work well for icechunk. I had fo

Re: [rules-users] 400 sorry, a technical error occured: Guvnor 5.3.0

2011-11-18 Thread Michael Anstis
Based upon the log the diabetes related decision table might not be valid. There also appears to be a problem deserialising a BPMN2 process. I suggest you try building and validating the package to try and find errors. sent on the move On 18 Nov 2011 20:52, "gs" wrote: > I am getting this err

[rules-users] 400 sorry, a technical error occured: Guvnor 5.3.0

2011-11-18 Thread gs
I am getting this error while testing my Test Scenario. Any advise? I am attaching screen shots and server.log I am not able to change the user, I am using Guvnor 5.3.0 Final and Jboss 5.1.0.GA http://drools.46999.n3.nabble.com/file/n3519662/Test_Scenario_Error_Latest.png http://drools.46999.n3

[rules-users] Ordered lists in drl

2011-11-18 Thread LCode
I am trying to write a rule via the guided rule editor and (again!!) I am really struggling. The following is a simplified explanation of my scenario: I have a model where there is one 'Supermarket' object which has a list of integers 'locationID'. Elsewhere I have another list of 'Place' objects

[rules-users] Inadvertant type conversion while using keyword "in"

2011-11-18 Thread TroyL
We ran into an issue when evaluating string values against a list of values while using the keyword "in". We find that when there is a decimal place in the string value and either the fact inserted into the session or the string values in the list end with a zero, the string will be truncated, as i

Re: [rules-users] Exclude certain rules

2011-11-18 Thread Vincent LEGENDRE
If you want to modify the "enabled" property of a rule according to facts in WM, why don't you add a first condition on that fact ? If the problem is to groups some rules under this condition, you can use rule inheritance (extends keyword) : all LSH of parent rule will be inherited by child rule

Re: [rules-users] Exclude certain rules

2011-11-18 Thread icechunk
Thanks, wasn't aware of enabled attribute. Is there any way to insert a fact into the enabled expression, say to the helper class being called? -- View this message in context: http://drools.46999.n3.nabble.com/Exclude-certain-rules-tp3517185p3519142.html Sent from the Drools: User forum mailin

Re: [rules-users] Exclude certain rules

2011-11-18 Thread Jamie
We did something similar - we implemented a table-based mechanism for turning rules on and off. The business users have a UI that allows them to toggle the rules via a simple boolean value. These values are cached and refreshed on a regular basis. Rather than inserting that cache as a fact, I ch

Re: [rules-users] Can't open bpmn from Visual Editor in Process Editor

2011-11-18 Thread ANJALI
Thanks for ur help ill download designer 1.0.0.055 version from source forge and ill check it out -- View this message in context: http://drools.46999.n3.nabble.com/Can-t-open-bpmn-from-Visual-Editor-in-Process-Editor-tp3514796p3518852.html Sent from the Drools: User forum mailing list archive at

Re: [rules-users] string replace collision problem

2011-11-18 Thread Wolfgang Laun
In addition to what Frank has stated, it should be noted that the sequence of transformations SF -> S S -> VOL performed by String.replace() can be simplified to a single transformation using replaceAll with a pattern: rule "Rule12 for parameter 1" when $plan : plan( $p1: parameter1 match

[rules-users] loading rules and drools classes via URLClassLoader

2011-11-18 Thread ukriegel
Hi there, we tried to use drools jars from an url: 1. define an URLClassLoader with all the urls of the necessary drools jars in the search path. 2. initialize a KnowledgeBaseConfiguration with that class loader KnowledgeBaseConfiguration knowledgeBaseCfg = KnowledgeBaseFactory

Re: [rules-users] string replace collision problem

2011-11-18 Thread FrankVhh
It is also answered without spell check, sorry... FrankVhh wrote: > > Cautionç This is answered after only a quick look. > > You must notify the engie that a change has occured by calling > update(plan); in the RHS. Not calling update will modify the object, but > the engine will not take these

Re: [rules-users] Can't open bpmn from Visual Editor in Process Editor

2011-11-18 Thread Tihomir Surdilovic
On 11/18/11 10:17 AM, ANJALI wrote: > Thanks for ur help > ill download designer 1.0.0.055 version from source forge and ill check it Your particular problem is not present in 1.0.0.055 however you will not get the latest features as shown here: http://vimeo.com/30857949 as well as numerous bug f

Re: [rules-users] string replace collision problem

2011-11-18 Thread FrankVhh
Cautionç This is answered after only a quick look. You must notify the engie that a change has occured by calling update(plan); in the RHS. Not calling update will modify the object, but the engine will not take these changes into account. Regards, Frank fiitkar wrote: > > Hello, > > I've pro

Re: [rules-users] Can't open bpmn from Visual Editor in Process Editor

2011-11-18 Thread Tihomir Surdilovic
So you are using the unofficial 2.0 release which you obtained from http://people.redhat.com/tsurdilo/oryx/latest/ ... you can expect some issues with that as it is not an official release. An official 2.0 version will be released soon to sourceforge. Your particular problem however has already

Re: [rules-users] Drools server => get a query result

2011-11-18 Thread jcp
OOKK! I found where the error was, the problem come from a misformed batch-execution command Working first with php array, who encode to json, the fire-all-rules command were like "fire-all-rules":[] instead of "fire-all-rules":"" -- View this message in context: http://drools.46999.

Re: [rules-users] Operation of "otherwise" in Decision Table (Guided editor) of Guvnor

2011-11-18 Thread Manohar Kokkula
Thank u so much Mike and Welsh, Armand. Regards Manohar Kokkula Mailto: manohar.kokk...@tcs.com From: "Welsh, Armand" To: Rules Users List Date: 11/18/2011 04:22 AM Subject: Re: [rules-users] Operation of "otherwise" in Decision Table (Guided editor) of Guvnor Sent by: rules-users-boun...

[rules-users] com.thoughtworks.xstream.converters.ConversionException: inheritedSolverBenchmar

2011-11-18 Thread vik
Hello, I have this error: Debugging information message : inheritedSolverBenchmark : inheritedSolverBenchmark cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException cause-message : inheritedSolverBenchmark : inheritedSolverBenchmark class

Re: [rules-users] Drools server => get a query result

2011-11-18 Thread jcp
Hi, anyone have an idea for this problem please? -- View this message in context: http://drools.46999.n3.nabble.com/Drools-server-get-a-query-result-tp3512272p3518145.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-u

Re: [rules-users] No rules loaded when reading package from Guvnor

2011-11-18 Thread Esteban Aliverti
@Michael, yes, Geoffrey merged it. I couldn't finish the test I was preparing because I need to finish some stuff first :(. The fact that "mvn test -Dtest=Whatever" is not working is also making my life miserable :) Best Regards, Esteban Aliverti - Develo