hi to all,
we wrote some rules and they are working fine actually we need how those rules
will be changed to decision tables, and that can be accessed by user(non-developer)
One of the Rule is as follows
package com.leave
import com.leave.paternity;
rule "Paternity Approved"
salience 1000
when
paternity : paternity(gender == 'male',status =='married',role
=='permanent',fincount < 1,tenureCount <=2 ,noofDays==2);
// fincount -- within that financial year noof paternity leave count (Need to obtain
by query)
// tenurecount -- For his/her employee no of paternityleaves in tenure (Need to
obtain by query)
then
paternity.available = 2; //return that 2 days avaliable
end
.......... We have to deliver this 31st may ......... please give us some
suggestions..................... The HR people have to change the rules........ how they
vill access these drl file ...........
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049710#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...