[rules-users] Can Rule call another Rule
anandhakrishnan
anandhakrishnank at gmail.com
Thu Feb 21 09:36:58 EST 2008
HI Scott,
Thanks again for ur assistance,
Ok Please tell me that if i need rules to make effective...
should i go for all possible combination of rules..
for eg:-
condition 1: only senior executive should handle gold task.
condition 2: managers should handle all tasks with order > 10000.
condition 3: in case of premium or gold tasks, the task should be assigned
to an agent who has already handled that customer before in the very recent
past history.
condition 4: In case of order >7000, assign to an agent with experience
greater than 5
so the above are my conditions, so should i create all possible combination
of these condition as rules.
Please Help.
============================================================
Scott Reed-3 wrote:
>
> Your description of the task did not include a priority field. Where
> does priority enter into this?
> As I suggested earlier, it helps to have a good object model for your
> domain before being too concerned about the rules. The model may need to
> be modified to fit a rule system, but it's difficult to consider the
> rules without a clearly defined model.
>
> anandhakrishnan's message received 2/21/2008 8:52 AM:
>> Hi Scott,
>>
>> thanks for ur assistance,
>>
>> In my case,
>>
>> what will happen if it is both gold account task and priority is one...
>>
>> some times , just gold account task might come as input...
>> some other account type can also come as input...
>>
>> but still if it rule inside another rule, i could filter my check.
>>
>>
>> While I am not a Drools expert, I know it's helpful to start with the
>> objects that the rules will work with.
>> I do not see why you would need one rule to call another or to inherit
>> from another.
>> Have you reviewed the examples to see how Drools works?
>>
>>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
--
View this message in context: http://www.nabble.com/Can-Rule-call-another-Rule-tp15586633p15612746.html
Sent from the drools - user mailing list archive at Nabble.com.
More information about the rules-users
mailing list