8.2.3.9   FieldSelection

The FieldSelection condition makes it possible to use a base condition as the data type of the selected field. Hierarchical fields are supported.

When a field, which may be an SDF or a TDF, is selected, the possible conditions for a field of that data type appear in the Condition drop-down. By selecting a condition, the possible input parameters for that condition appear and have the same parameters as the condition itself.

The behavior of FieldSelection can be constrained for all fields individually. The field is enabled in FieldSelection by configuring the data field as Show in plugins in the service editor, see Section 5.3.6, or by defining a constraint, Section 5.5.

When a field is selected in the FieldSelection condition, the possible conditions for the data type of the field are selectable in the Condition drop-down, see Figure 169.

If the data type for a field is an array, individual entries in the array may be specified.

Figure 169   Condition Drop-down

The Integer base condition is selected, and the parameters Operator and Value, that belongs to this condition are visible, see Figure 170. By selecting the Operator = and Value 10, the FieldSelection condition evaluates that the field Number1 is equal to value 10 in execution.

Figure 170   Integer Base Condition

Selected Field:

Drop-down showing all SDFs and TDFs, that exist.

Index:

If the field selected is an array or a map, an index parameter is visible in the GUI. By entering an index value, the value in that position of the array or map will be compared to the value entered in Value.

Figure 171   Array Condition with Index Field

Condition:

Drop-down showing all conditions possible to use for the data type of the selected field.

Other input depends on what condition that is selected. See possible conditions in Table 82.

Table 82    Conditions in the Drop-down

Conditions

Short Condition

Integer Condition

Long Condition

Double Condition

UnsignedInt Condition

UnsignedInt8 Condition

UnsignedInt16 Condition

UnsignedInt32 Condition

ULong Condition

UInteger Condition

UShort Condition

ValueInArray Condition

LongInArray Condition

IntegerInArray Condition

ShortInArray Condition

UnsignedInt32InArray Condition

UnsignedInt16InArray Condition

UnsignedInt8InArray Condition

String Condition

OctetString Condition

StringLength Condition

NumberString Condition

BCDString Condition

StringList Condition

OctetStringList Condition

NumberList Condition

Boolean Condition

IPAddress Condition

IPv6Address Condition

LongBitPattern Condition

IntegerBitPattern Condition

ShortBitPattern Condition

RatingDecimal Condition

Amount Condition

Date Condition

Time Condition

Days Condition

RegularExpression Condition