Hi,
Technically, this might help you achieve what you're looking to do -
However, before trying to do something like this, you should perhaps put things into perspective:
- An ADFbc application is perfectly capable of doing the kind of validations you're referring to, so what would be the motivation behind delegating these validations to the rules engine?
- Will your ADFbc service (API) ever be used to create a department with less than 3 employees?
- Are you developing a business service or a business process?
An analysis like this will help you avoid problems later. Also look at some simple examples of where the rules engine is best suited:
Regards,
Jang Vijay Singh