Free cookie consent management tool by TermsFeed lookup() Function
lookup() Function

Function

lookup( multipleValues, dataToLookup, valueIfNotPresent )

Returns location of data within multiple values, or valueIfNotPresent.

Parameters

Keyword Type Description

multipleValues

Any Type

Values to lookup within.

dataToLookup

Any Type

Value to lookup within multipleValues.

valueIfNotPresent

Any Type

Value to return if dataToLookup is not present.

Returns

Integer

Examples

lookup({"a", "b", "c", "d"}, "c", -1) returns 3

Feature compatibility

The table below lists this function's compatibility with various features in Appian.
Feature Compatibility Note
Portals Compatible
Offline Mobile Compatible
Sync-Time Custom Record Fields Compatible

Can be used to create a custom record field that only evaluates at sync time.

Real-Time Custom Record Fields Incompatible
Process Reports Compatible
Process Events Compatible

lookup() Function

FEEDBACK