[rules-users] Rule For Counting Planning Variables/Entities

newbie dspecialist18 at yahoo.com
Mon Nov 11 23:13:23 EST 2013


Sample output would be: 

  [DepartmentAssignment1] 02-01-2013 to 02-28-2013 -> [Employee-1] to
[Department1]
  [DepartmentAssignment2] 03-01-2013 to 03-31-2013 -> [Employee-1] to
[Department1]
  [DepartmentAssignment3] 04-01-2013 to 04-30-2013 -> [Employee-1] to
[Department1]
  [DepartmentAssignment4] 05-01-2013 to 05-31-2013 -> [Employee-1] to
[Department1]
  [DepartmentAssignment5] 06-01-2013 to 06-30-2013 -> [Employee-1] to
[Department1]
  [DepartmentAssignment6] 07-01-2013 to 07-31-2013 -> [Employee-1] to
[Department1]
  [DepartmentAssignment7] 08-01-2013 to 08-31-2013 -> [Employee-1] to
[Department1]
  [DepartmentAssignment8] 01-01-2013 to 01-31-2013 -> [Employee-1] to
[Department2] // should be set to null minimum assignment should be 3 months
  [DepartmentAssignment9] 02-01-2013 to 02-28-2013 -> null to [Department2]
  [DepartmentAssignment10] 03-01-2013 to 03-31-2013 -> null to [Department2]
  [DepartmentAssignment11] 04-01-2013 to 04-30-2013 -> null to [Department2] 
  [DepartmentAssignment12] 05-01-2013 to 05-31-2013 -> null to [Department2]
  [DepartmentAssignment13] 06-01-2013 to 06-30-2013 -> null to [Department2]
  [DepartmentAssignment14] 07-01-2013 to 07-31-2013 -> null to [Department2]


The rule I have made seems not counting it well.



--
View this message in context: http://drools.46999.n3.nabble.com/Rule-For-Counting-Planning-Variables-Entities-tp4026724p4026736.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list