Algorithm Attributes
Algorithms can be defined at either a Global or Local level. Local algorithms can use global variables, but global algorithms cannot use local variables.
The information required to define an Insbridge algorithm are:
- name [required] – the algorithm name that clearly describes the item and its intent. For example, TotalPolicyPremium, BasePremium, AdjustedBasePremium, etc.
- id [required] – a consistent, universally unique identifier.
- dateModified – the date the algorithm definition was last modified. The date must be in yyyy-mm-dd format. If the dateModifed attribute is not included, the default is the date the file was imported in to RateManager.
- currentStatus – the current status of the algorithm in this version of the XML file. If a currentStatus is not included, the apply process looks for the id in the database. If the id exists, the apply process compares the current item defined with the existing id and determines whether the status is NoChange or Updated. If the id does not exist in the database, the import process sets the status to New.
- New
- NoChange (i.e., no changes for this release, rules, circular)
- Updated
- Deleted
- version – a numeric ID of the algorithm revision. This is an information field and is visible in the XML file only. When the file is applied, the revision number will be defaulted to 1.
- dataType [required] – the algorithm result data type.
- String
- Decimal
- Integer
- Date
- algorithmType [required] – There are two options: Rating or Underwriting
- categoryID [required] – the previously defined id of the category where the algorithm will be executed. This is the Insbridge working category. The category and category id must be defined in the XML file.
- categoryName – describes the category ID where this algorithm will be executed. This field is primarily for informational purposes intended to provide descriptive information for persons creating or reviewing the XML file.
TYPE |
NAME |
OCCURRENCE |
REQUIRED |
RESTRICTIONS |
Node |
Algorithms |
1 |
No |
- |
Node |
Algorithm |
Unbounded |
No |
- |
Attribute |
name |
- |
Yes |
String type. Does not allow some special characters. |
Attribute |
id |
- |
Yes |
Allows String type |
Attribute |
dateModified |
- |
No |
Two types of Date Formats are allowed (i.e., YYYY-MM-DD & DD/MM/YYYY) |
Attribute |
currentStatus |
- |
No |
New/NoChange/Updated/Deleted |
Attribute |
version |
- |
No |
Integer type |
Attribute |
algorithmType |
- |
Yes |
String type. Does not allow some special characters. |
Attribute |
dataType |
- |
Yes |
String/Decimal/Integer/Date |
Attribute |
categoryID |
- |
Yes |
Allows String type |
Attribute |
categoryName |
- |
No |
String type. Does not allow some special characters. |