[rules-users] Regarding Jboss drools rules

Mauricio Salatino salaboy at gmail.com
Wed May 12 09:23:35 EDT 2010


Hi Sai,
The idea of this mailing list is to ask questions about doubts writing
rules/processes not to ask for implementations.
If you have problems implementing your rules you can write us we are here to
help, but we do this for free and we don't have time to implement your
rules, at least I don't have the time for that kind of support.

I suggest you to try to write your own rules and classes, if you have
problems with that just ask us we will guide you during the process.

You can also take a look at my blog, you will find several posts about
Drools, and some examples about how to write rules.
If you need something special I can write about that too.

http://en.wordpress.com/tag/jboss-drools/

Greetings!

2010/5/11 Sai Venkat <sai_botta at yahoo.co.in>

> Good Morning Mr.Laun,
>
> Yes you are correct.But request you to send me sample code for that sort of
> application as how to write ro implement rules.
> what class need to be written and rules related to that.
>
> waiting for your response
>
> thanks in advance
>
> venkat
>
>  ------------------------------
> *From:* Wolfgang Laun <wolfgang.laun at gmail.com>
> *To:* Rules Users List <rules-users at lists.jboss.org>
> *Sent:* Tue, 11 May, 2010 21:36:59
>
> *Subject:* Re: [rules-users] Regarding Jboss drools rules
>
> If I understand you correctly, you just have to classify data records
> (facts) as "passed" and "failed".
>
> If possible, add another field "result" to the class representing your
> "record" which may assume the values "undef", "passed", "fail".
>
> Write rules to detect the "passed" objects with result == Result.UNDEF and
> set result to Result.passed, or print and retract the fact.
>
> Write one rule with low (negative) Salience for objects with result ==
> Result.UNDEF and set
> result to Result.failed, or print and retract the fact.
>
> That's all there is to it.
> -W
>
>
>
> 2010/5/11 Sai Venkat <sai_botta at yahoo.co.in>
>
>>  Hi Mr.Laun,
>> Thank you very much for the response.
>> yes i mean Facts only.but my requirement is for a set of input which
>> contains records in text or xls or anyother format we write some rules,
>> based on the conditions the set of input if satisfies will give an outcome
>> or result.
>> so is there any tracking like where i can figure out tht these were the
>> outcomes or result for total of 5 records only 3 were satisfied and the rest
>> failed.
>>
>> i need the output to be shown to the enduser for the processed records or
>> for the total input and total output.
>> please do help me.
>>
>> Thanks and regards
>>
>> venkat
>>
>>  ------------------------------
>> *From:* Wolfgang Laun <wolfgang.laun at gmail.com>
>> *To:* Rules Users List <rules-users at lists.jboss.org>
>> *Sent:* Tue, 11 May, 2010 16:32:31
>> *Subject:* Re: [rules-users] Regarding Jboss drools rules
>>
>> This is the strangest request I have seen on this list...
>>
>> If you need a sample application, take your pick from the examples
>> provided with Drools, which you could modify to show whatever you want to
>> see.
>>
>> Anyway, what you write is far from a clear specification. There is no such
>> thing as a "success(ful)" or "failed" *record* in Drools. (Do you mean *
>> facts*?)
>>
>> -W
>>
>>
>> 2010/5/11 Sai Venkat <sai_botta at yahoo.co.in>
>>
>>>  Hi could anyone send me a sample application which has two rules for a
>>> set of 5 records and process the rules show the output in any
>>> format(text,csv,xls...).
>>>
>>> the result should be dispalyed with both the success and failed records
>>> after it processed the rules.
>>>
>>> Thanks n Regards
>>>
>>> venkat
>>>
>>>
>>> _______________________________________________
>>> rules-users mailing list
>>> rules-users at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/rules-users
>>>
>>>
>>
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>


-- 
- http://salaboy.wordpress.com
- http://www.jbug.com.ar
- Salatino "Salaboy" Mauricio -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100512/26a16c56/attachment.html 


More information about the rules-users mailing list