You are here: Transaction Rules > Transaction Elements > Math Element > MATHIF

Oracle® Insurance XML Configuration Guide Release 9.4.1.0 E23637_01

# MATHIF

## Description

MathIF acts as conditional comparison statement for evaluation by the system. If the CONDITION attribute is True, then all of the Math Variables configured within the MathIF folder structure will be executed. If the CONDITION is false, the system will ignores the MathIF folder content and moves to the next Math Variable.

MathIF allows the user to execute several Math Variables with one conditional statement being true as opposed to using IIF which only assigns one variable per each IIF condition.

TYPE = MathIF |  |  |
--- | --- | --- | ---
Element | Attributes | Attribute Value | Element Value
<MathVariable> | TYPE | MathIF | Math variables, literal values, or activity fields for the condition.
| CONDITION | Condition to evaluate. The condition can utilize previously defined Math Variables, literal hard-coded values, a combination of both and operators. See operators for more details.

## XML Example

    <MathIF IF="PaymentMethod = '03'">

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

Open table of contents