4.1 Best Practices

The business logic is kept in multiple places:

The order represents the amount of business logic an element is supposed to hold. Most of the business logic and decision making is done in the entitlements framework, which includes roles and workflows. If no automation is possible or wanted or if additional approval is necessary, Workflow can help out. Service Agents can hold business logic that cannot be implemented in roles or workflows. Application Drivers should not contain any business logic at all, but can be used if there is no other option.

The reason to use this order is so the business logic does not need to be duplicated for each connected system. For example, if the business logic resided in policies for the Active Directory* driver, you would have to create the same logic for the Notes driver, Peoplesoft driver, and any additional driver you have in your environment.

By implementing the business logic in the order listed, it saves time, effort, and reduces the chance for errors to occur. If something changes in your business logic, you can make those changes to a single place instead of making the change per connected driver.