Adding an initialization script

An initialization script specifies Gosu code that PolicyCenter executes every time someone creates a policy from the product pattern. PolicyCenter runs the initialization script when the policy object is instantiated, not when the policy is bound and issued. You can add an initialization script in main page of the policy line under Advanced > Scripts > Initialization.

Note: Although it provides a place to type a Gosu script, Product Designer does not perform syntax checking or other coding assistance functions that are common in integrated development environments. Therefore, Guidewire recommends that you define all but the simplest scripts in Studio.