Script parameter examples
Suppose, for example, that you have exception rules that trigger when an activity is overdue for more than five (5) days. If you included the value “5” in all of the rules, you would have to modify the rules if you decided to change the value to ten (10). Instead, define a script parameter, set its value to five (5), and then use this parameter in the rules. To change the activity exception behavior, you need change only the parameter, and the rules automatically uses the new value.
More complex examples include:
- Setting the number of days before the policy end date to start the renewal process – It is possible that this varies by policy type and Line of Business.
- Setting the maximum number of years for automatic policy renewal without an underwriting review – After the set number of threshold years passes, the Rule engine generates an activity to manually review the policy.
- Setting the date in which new policy terms come into effect – This effectively requires all policies created after a given date to contain certain forms and amendment, for example.
Note: Script parameters are read-only
within Gosu. You cannot set the value of a script parameter in a Gosu
statement or expression.
