Shows the Outside Manager Ruleset with the Find managers in different departments rule. Advanced mode is gray. The rule is shown as follows: IF area, Empoyee is Empoyee

and

Manager is a Empoyee and

Manager.EmpoyeeId == Empoyee.ManagerId and

Manager.DepartmentId != Empoyee.DepartmentID

THEN

assert new MessageAction(<add property> message: "Employee " + Employee.FirstName + " " + Employee.LastName + "(" +

Employee.EmployeeId + ")"+ " in dept " + Employee.DepartmentId + " has

manager outside of department, " + Manager.FirstName + " " + Manager.LastName

+ "(" + Manager.EmployeeId + ")" + " in dept " + Manager.DepartmentId )