Condition¶
Condition element contains information of a condition that must be met when a certain input item of calculation conditions become active.
Example¶
1 | <Condition conditionType="isEqual" target="type" value="1" /> |
1 2 3 4 | <Condition conditionType="and"> <Condition conditionType="isEqual" target="type" value="1" /> <Condition conditionType="isEqual" target="inflow" value="0" /> </Condition> |
Refer to ??? for other examples.
Attributes¶
Name | Value | Required | Description |
---|---|---|---|
conditionType | Refer to the table below | Yes | Type of condition |
target | String | Depends | Name of the calculation condition to be compared with. Needs to be sconditionType Needs to be specified only if the conditionType value is none of "and", "or", "not". |
value | String | Depends | Value to be compared with. Needs to be sconditionType Needs to be specified only if the conditionType value is none of "and", "or", "not". |
Value | Meaning |
---|---|
isEqual | is equal to |
isGreaterEqual | is greater than or equal to |
isGreaterThan | is greater than |
isLessEqual | is less than or equal to |
isLessThan | is less than |
and | and |
or | or |
not | not |