Creating underwriting issues with policy evaluation plugin

The IPolicyEvaluationPlugin is the starting point for the rule which creates an underwriting issue. In the base configuration, the IPolicyEvaluationPlugin interface is implemented by the PolicyEvalPlugin plugin. This plugin creates a PolicyEvalContext object and then evaluates (evaluator.evaluate method) whether to raise issues for the current checking set and policy lines associated with the policy period. The evaluate method first evaluates the underwriting rules defined in the user interface. Then the evaluate method evaluates underwriting issues types implemented in Gosu code.

The plugin uses a default class (DefaultUnderwriterEvaluator.gs) and line-of-business-specific classes (PA_UnderwriterEvaluator.gs for example) to determine whether or not to raise underwriting issues.

When you evaluate each checking set, your implementation must raise issues and refresh existing issues with current values. Your implementation must also remove orphaned issues. Guidewire recommends that your implementation use the PolicyEvalContext class to create and remove orphaned issues because these are complex and error-prone tasks.

See also