Result Variables
When a variable is created under a specific program, it is referred to as a local variable. When a variable is created that applies to all programs under the product, it is referred to as a global variable. When an element is created that can be used by all programs under the project, it is referred to as a universal element. Result variables can be created at the global level and at the universal level.
Results variables generally hold the result of an action and can be used at any point in the system. When calculating a premium, the final result is usually a result variable. Result variables can also be used as placeholders for the end result of an algorithm. This includes premiums, underwriting rule messages and policy specific information such as tier name selected, and fees.
It is recommended that result variables be created prior to algorithms and calculated variables so that these elements are in place for selection from the drop down listings when you need them in your calculation sequence.
Result variables can be created by you or brought in from a template. Variables that are user created are open for editing, copying, and deletion if they are not locked. Locked result variables can be copied but not edited or deleted. Variables that were brought in from a template are locked at all times and cannot be unlocked. No editing or deleting is allowed. This is to ensure the integrity of the template. Template variables can be copied. New user created result variables can be added to a template program. The new variables and copies are open for editing, copying, or deletion.