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

Function

enumerate( n )

Returns a list of integer numbers from 0 through n-1.

Parameters

Keyword Type Description

n

Number(Integer)

The number of days to test.

Returns

Integer Array

Usage considerations

The resulting enumerated list begins with zero.

To start the list at 1, add +1 onto the syntax as follows: enumerate(*n*)+1

Examples

enumerate(10) returns 0, 1, 2, 3, 4, 5, 6, 7, 8, 9

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

Custom record fields that evaluate in real time must be configured using one or more Custom Field functions.

Process Reports Compatible
Process Events Compatible

enumerate() Function

FEEDBACK