Your browser does not support JavaScript!
You are here: Transaction Rules > Transaction Elements > Math Elements > SEGMENTLOOP

SEGMENTLOOP

Description

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 Element/Attribute Table
TYPE=SEGMENT        

Element

Attributes

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]">

Copyright © 2009, 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices