Rules

Part of configuring the business logic for departments and processes in iWD is configuring and associating rules. All business rule authoring for iWD is done through the Genesys Rules Authoring Tool, which is a component of the Genesys Rules System. These rules define the task-handling business logic that is applicable to the departments, processes, or the entire system. Generally, a rule is represented by one or more conditions and one or more actions. If all of the conditions are true, all of the actions are executed. If any condition is not true, none of the actions are executed.

An important aspect of rules in iWD is separation of implementation details from business-level logic. This allows expression of rules in an easy-to-understand human language, such as, "If task is due in 10 or more minutes, increase priority by 10." The implementation details are hidden in rule templates, and users who configure business logic deal only with high-level logical expressions.

A rule can be defined in one of two ways: as a linear rule or as a decision table.

Linear rules are intended for complex rules that have many conditions. Each condition or action is represented by a single line in the rule.

Decision tables represent a more compact form of rule representation; however, they might not be as well suited to complex rules. In a decision table, multiple rules are grouped together, so that each condition or action is represented by a column in a table, and each rule represents a row.