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.

SEGMENTLOOP: Elements and Attributes

TYPE=SEGMENT

Element Attributes Parent Element Description Element/Attribute Value

<MathLoop>

TYPE

   

Configuration that will be in the segment loop.
SEGMENT

      To retrieve just the segments relevant to the current policy.

"[PolicyGUID]”

POLICY

      Limits the segments that are to be looped through. You may use fields and columns in the AsSegment and AsSegmentField table.

String value

CONDITION

XML Example

<MathLoop VARIABLENAME="SegmentMV" TYPE="SEGMENT" CONDITION="FieldName = 'SegmentActiveCode' AND TextValue = '01'" POLICY="[PolicyGUID]">