[rules-users] Equal shift assignment based on employment form

2013-11-12 Thread ns
Hi, I would like to distribute shifts equally among employees based on their employment form (full time or part time: 100%, 75%, 50%, ...). I have a variable for each employee that holds the employment form. How do I make sure all shifts get distributed equally, so that somebody that works 50% of

Re: [rules-users] Equal shift assignment based on employment form

2013-11-14 Thread ns
Does anyone have any idea how to solve my problem? Thank you. -- View this message in context: http://drools.46999.n3.nabble.com/Equal-shift-assignment-based-on-employment-form-tp4026746p4026778.html Sent from the Drools: User forum mailing list archive at Nabble.com. __

Re: [rules-users] Equal shift assignment based on employment form

2013-11-15 Thread Geoffrey De Smet
On 12-11-13 14:22, ns wrote: > Hi, > > I would like to distribute shifts equally among employees based on their > employment form (full time or part time: 100%, 75%, 50%, ...). I have a > variable for each employee that holds the employment form. How do I make > sure all shifts get distributed equ

Re: [rules-users] Equal shift assignment based on employment form

2013-11-15 Thread ns
Hi Geoffrey, thanks for the reply. Very helpful. I will try that. Kind regards, Nick -- View this message in context: http://drools.46999.n3.nabble.com/Equal-shift-assignment-based-on-employment-form-tp4026746p4026787.html Sent from the Drools: User forum mailing list archive at Nabble.com.

Re: [rules-users] Equal shift assignment based on employment form

2013-11-15 Thread ns
I managed to create a rule to distribute the shiftassignments equally, using your fairness example. I am now however stuck on the part time, full time problem. A person that works part time (50%) should get assigned only half the shifts that a full time gets assigned. How do I do that? I have tri