SEGMENTLOOP
A Segment MathLoop is used to iterate through all segments on a policy. You can limit the segments that are iterated through by using a CONDITION statement and the POLICY attribute. You can then use a MathVariable that is TYPE=SEGMENTFIELD to retrieve values from the segments that were looped through via the segment MathLoop.
TYPE=SEGMENT |
||||
---|---|---|---|---|
Element | Attribute | Attribute Value | Element Value | Definition |
<MathLoop> |
TYPE |
SEGMENT |
Configuration that will be in the segment loop. |
|
POLICY | ”r;[PolicyGUID]” | To retrieve just the segments relevant to the current policy. | ||
CONDITION | String value | Limits the segments that are to be looped through. You may use fields and columns in the AsSegment and AsSegmentField table |
XML Example
<MathLoop VARIABLENAME="SegmentMV" TYPE="SEGMENT" CONDITION="FieldName = 'SegmentActiveCode' AND TextValue = '01'" POLICY="[PolicyGUID]">