Re: [rules-users] OptionalDataException while running sample mortagage example

2011-03-11 Thread Aditya
HI All, I am providing the changeset.xml which was not pasted properly earlier and i using Drools 5.1 server and Guvnor 5.1 Let me know if any more information required. Regards, Aditya -- View this message in context:

[rules-users] Conflict detection problem

2011-03-11 Thread AlisterC
Greetings, I am working on a collaborative platform project which will contain datas, informations and knowledges such as buisness rules. Consequently, a rule engine is a requisite and I am testing the Drools suite. Because a lot of different people will be able to define rules, some

Re: [rules-users] Conflict detection problem

2011-03-11 Thread Swindells, Thomas
An approach that may work is to decouple the suggested results from the model with support for multiple values. To do this you could define an fact type of Affirmation(String name, Object subject, Object value). Where the names are a list of well known values. You rules would then look like the

Re: [rules-users] Misunderstanding salience?

2011-03-11 Thread Leonardo Gomes
I didn't actually read through all of the thread, but it sounds to me that you're looking for drools.halt(), which is something that you can actually call from the consequence part of your rules. 2011/3/9 Peter Ashford pet...@bestpractice.org.nz Ok, thanks. I can see how asserting a control

Re: [rules-users] Conflict detection problem

2011-03-11 Thread AlisterC
Thanks a lot, Thomas. I am going to test this decoupled approach. Alister -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Conflict-detection-problem-tp2664121p2664253.html Sent from the Drools - User mailing list archive at Nabble.com.

Re: [rules-users] Conflict detection problem

2011-03-11 Thread Wolfgang Laun
Some other techniques: (1) Authors must avoid magic numbers. Define constants such as MAX_MINOR_AGE in Java. Compiled rules could be inspected to detect literals. (2) getters can be written to compare the old value against the argument. (This may mean that simple types have to be avoided in fact

Re: [rules-users] is is possible to insert facts into working memory from functions ?

2011-03-11 Thread groovenarula
Duh !!! Of course - I forgot the import statement. For some reason I thought KnowledgeHelper would already be imported. Thanks for your help once again W ! -- View this message in context:

Re: [rules-users] Conflict detection problem

2011-03-11 Thread AlisterC
Thank you Wolfgang. I am a beginner with Drools, so it might take me some time to experimente these ways. But I'll give my feedback in the next days. Alister -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Conflict-detection-problem-tp2664121p2665008.html

Re: [rules-users] Conflict detection problem

2011-03-11 Thread Esteban Aliverti
You can also take a look at drools-verifier: http://community.jboss.org/wiki/DroolsVerifier Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Fri, Mar 11, 2011 at 11:52 AM, AlisterC

[rules-users] Drools Flow client.getTasksAssignedAsPotentialOwner API returns duplicates - bug?

2011-03-11 Thread gs76pl
hi, i've noticed that after creating two separate tasks (different names) for the same user below query return 2x2=4 items from which two of them are duplicates minaClient.getTasksAssignedAsPotentialOwner(user,language,responseHandler) List tasksOwned = responseHandler.getResults(); I've