a!listType( typeNumber )
Returns the list type number for a given type number.
Keyword | Type | Description |
---|---|---|
|
Number (Integer) |
The type for whose corresponding list type should be returned. This may be retrieved by using typeof(x), where x is a value of the intended type, referencing a type with 'type!{namespace}type-name' (within single quotes), or for records, using the record type reference (e.g. recordType!Customer). |
Number (Integer)
1
a!listType(type!Integer)
Returns 101
, which corresponds to the type List of Number (Integer)
.
1
a!listType(recordType!Customer)
Returns 2893
, which corresponds to the type List of Customer
. Your record types and their type numbers will be different from this example.
1
a!listType({type!Integer, type!Decimal})
Returns {101, 102}
, which corresponds to the types List of Number (Integer)
and List of Number (Decimal)
, respectively.
1
2
3
a!listType(
tointeger({ dictionaryKey: type!Integer }.dictionaryKey)
)
Returns 101
, which corresponds to the type List of Number (Integer)
. Dictionary values must be cast to Integer
before getting their list type using a!listType
.
1
a!listType(a!map(mapKey: type!Integer).mapKey)
Returns 101
, which corresponds to the type List of Number (Integer)
.
Feature | Compatibility | Note |
---|---|---|
Portals | Compatible | |
Offline Mobile | Compatible | |
Sync-Time Custom Record Fields | Incompatible | |
Real-Time Custom Record Fields | Incompatible | Custom record fields that evaluate in real time must be configured using one or more Custom Field functions. |
Process Reports | Incompatible | Cannot be used to configure a process report. |
Process Events | Incompatible | Cannot be used to configure a process event node, such as a start event or timer event. |
a!listType() Function