Configuring business rules

This topic discusses how to implement the PolicyCenter business rules plugin.

Important: If you install embedded analytics for Guidewire PolicyCenter, the default implementation class for the IBizRulesPlugin plugin changes to the following class:
  • ADSBizRulesPlugin

Any changes that you make to the IBizRulesPlugin plugin must be made in this implementation class.

Business rule subtypes

Guidewire PolicyCenter provides business rules for underwriting only. Guidewire does not recommend, nor does it support, the creation of additional business rule subtypes.

What can you modify in the business rules plugin class?

To make modifications to business rules, you make modifications to the following objects in the implementation class for the IBizRulesPlugin plugin.

Method

Function

BlackListedMethods

Provides the list of blacklisted (not permitted) methods for types other than symbols that might be present in the context definition. In the base configuration, PolicyCenter whitelists (permits) all methods on types other than symbols present in the context definition.

BlacklistedProperties

Provides a list of blacklisted (not permitted) properties on rule context symbols. In the base configuration, PolicyCenter whitelists (permits) all properties on context symbols. This action makes the properties available in the Rule Condition builder in the business rule editor. Adding a property to the list hides the property in autocomplete in the Rule Condition builder.

Note: Array properties such as claim.Activities, do not allow de-referencing. For example, PolicyCenter does not allow claim.Activities[0]. However, PolicyCenter does permit array properties such as claim.Activities.Count.

RuleActions

Provides the class that defines the valid rule actions. In the base configuration, this is Gosu class AddUWIssueRuleAction. It is possible to modify or replace this Gosu class.

RulePermissionProvider

Provides the set of user permissions used with business rules. In the base configuration, PolicyCenter uses class UWRulePermissionProvider to define the permissions used by business rules users. It is possible to implement your own permission provider class.

TriggeringPointMap

Maps between triggering points and the associated rule context definitions for each triggering point. It is not possible to add new triggering points.

WhiteListedMethods

Provides a list of whitelisted (permitted) methods on the rule context symbols. In the base configuration, PolicyCenter blacklists (does not permit) all methods on context symbols to ensure that invoking a rule does not change the state of an entity. Adding a method to the list permits the symbol method to show on autocomplete in the Rule Condition builder.

LookupEnabled Override Guidewire default setting to enable or disable the use of lookups in business rule variable expressions.