A method and apparatus for running a payroll. The method identifies a policy instance for an employee by a computer system, wherein the policy instance includes a group of execution units in the computer system that implements a group of rules for a policy with respect to running the payroll for the organization. Further, the method identifies data for the employee by the computer system. Yet further, the method processes the data in the group of execution units in the computer system to run the payroll for the employee, wherein the group of execution units is configured with instance-specific information for the policy instance to process the data for the payroll using the group of rules for the policy.
展开▼