> ## Documentation Index
> Fetch the complete documentation index at: https://help.dingtalk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# ARRAYGET

> The ARRAYGET function returns the value at a specified position in a dataset. Use it in various YiDA scenarios such as forms and workflow design. This function requires two parameters—the dataset and the element position—and returns Text type data.

## Supported Product Scenarios

The ARRAYGET function is supported in the following YiDA scenarios:

* Form (main table fields)
* Form (business association rules)
* Form (validation)
* Workflow design (validation rules)
* Workflow design (associated actions)
* Integration and automation
* Workflow node
* Connector

## Syntax

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
ARRAYGET(array, k)
```

## Attribute Description

| **Attribute** | **Required** | **Description**                                              |
| ------------- | ------------ | ------------------------------------------------------------ |
| array         | Yes          | The dataset from which to retrieve data. Array type.         |
| k             | Yes          | The position of the element in the dataset, starting from 1. |

## Return Value

| **Return type** | **Description**                                     |
| --------------- | --------------------------------------------------- |
| Text            | The value at the specified position in the dataset. |

## Try It

Returns the third record from multiple detail entries in a subform.
