TerminateProgram
The TerminateProgram attached business rule is used to terminate policy and segment programs. TerminateProgram can be attached to a transaction whose impact to the base contract would require termination of the program, as in the case of lapse or policy surrender. Whenever the rule is attached to a non-program activity, such as policy surrender, a program instance must be provided as input to the rule. TerminateProgram can also be attached to program activities to terminate the program upon reaching the program end date.
The rule is entered into the Transaction Business Rule Packet.
Element/Tag | Attribute | Definition | Element/Attribute Value and Description |
---|---|---|---|
<TerminateProgram> |
|
The opening and closing tags of this rule. |
|
<Program>
|
Required element |
||
<Tests> |
Optional element Allows for further definition of the program fields that may be updated. |
||
<Test> |
Repeatable element A conditional statement that tests a MathVariable or Field against another MathVariable, Field, or literal value. |
String: | |
<Fields> |
Required element Common field definition. See Fields Element. |
||
<Field> |
Required, repeatable element (if Fields element is present)
The opening and closing tag that encompasses <From> and <To> |
||
<From> |
Required element value Name of the Program source field data is being copied from. Cannot be used if <FromCollection> is used. |
Program: field name |
|
<FromCollection> |
Required element value: Identifies the collection from which data is copied. Cannot be used if <From> is used. |
MathVariable of variable type Collection. |
|
<To> |
Required element value Name of Program field data is being copied to. |
XML Example
<TerminateProgram>
<Program>
<Fields>
<Field>
<FromCollection>NextBusinessDayCollection</FromCollection>
<To>EffectiveDate</To>
</Field>
</Fields>
</Program>
</TerminateProgram>
XML Schema
Use of <FromCollection> rule is attached to non program activities
<TerminateProgram>
<Program>
<Tests>
<Test>conditional statement</Test>
</Tests>
<Fields>
<Field>
<FromCollection>[math variable]</FromCollection>
<To>[field name]</To>
</Field>
</Fields>
</Program>
<TerminateProgram>
Use of <From> rule is attached to program activities
<TerminateProgram>
<Program PROGRAMGUID="">
<Tests>
<Test>conditional statement</Test>
</Tests>
<Fields>
<Field>
<From>[activity field|math variable]</From>
<To>[field name]</To>
</Field>
</Fields>
</Program>
</TerminateProgram>