Skip to main content
Workday User Guide
Last Updated: 2025-10-31
MAKEARRAY

MAKEARRAY

Description

Creates a calculated array of a specified size of rows and columns by applying a LAMBDA function.
This function allows for dynamic array creation based on complex calculations or patterns.

Syntax

MAKEARRAY(
rows
,
cols
,
lambda
)
  • rows
    : The number of rows in the array. Must be greater than zero.
  • cols
    : The number of columns in the array. Must be greater than zero.
  • lambda
    : A LAMBDA that is called to create the array. There are two parameters:
    • row
      : The row index of the array.
    • col
      : The column index of the array.