Condition > Examples β
Condition on a classification - The value for the classification TYOPLOGY should be in the list [BOOT, BALLERINA] β
XML Example
xml
<Condition source="TYPOLOGY" operator="IN">
<Value>BOOT</Value>
<Value>BALLERINA</Value>
</Condition>1
2
3
4
2
3
4
Condition on a NUMBER field - The value for the field price should be strictly lower than 100.4 β
XML Example
xml
<Conditions>
<Condition-Group>
<Condition source="price" operator="LESS_THAN">
<Value>100.4<Value>
</Condition>
</Condition-Group>
</Conditions>1
2
3
4
5
6
7
2
3
4
5
6
7
Condition on a SINGLE-SELECT field - The value for the field SUPPLIER should not be in the list [SAMSUNG, APPLE] β
XML Example
xml
<Conditions>
<Condition-Group>
<Condition source="SUPPLIER" operator="NOT_IN">
<Value>SAMSUNG</Value>
<Value>APPLE</Value>
</Condition>
</Condition-Group>
</Conditions>1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
Condition on a MULTI-SELECT field - The value for the field COLORS should not be in the list [BLUE, RED] β
XML Example
xml
<Conditions>
<Condition-Group>
<Condition source="COLORS" operator="NOT_IN">
<Value>BLUE</Value>
<Value>RED</Value>
</Condition>
</Condition-Group>
</Conditions>1
2
3
4
5
6
7
8
2
3
4
5
6
7
8