---
title: RANGE
url: https://www.tines.com/docs/formulas/functions/range/
kind: formula-function
---

*[tines.com](https://www.tines.com/llms.txt) › [Docs](https://www.tines.com/docs/llms.txt) › [Formulas](https://www.tines.com/llm/docs/formulas.md) › [Functions](https://www.tines.com/llm/docs/formulas/functions.md)*

# RANGE

*[View on tines.com](https://www.tines.com/docs/formulas/functions/range/)*

Returns an array of numbers with the first value equal to `start` and the last value equal to `end`.

**Categories:** Arrays

## Syntax

```
RANGE(start, end)
```

## Examples

### Example 1

Input:

```json
{
  "my_action": {
    "message": 10
  }
}
```

Formula:

```
RANGE(7, my_action.message)
```

Output:

```json
[
  7,
  8,
  9,
  10
]
```

## Sample actions

```json
{
  "standardLibVersion": "14",
  "actionRuntimeVersion": "3",
  "agents": [
    {
      "disabled": false,
      "name": "My Action",
      "description": "",
      "options": {
        "mode": "message_only",
        "loop": false,
        "payload": {
          "message": 10
        }
      },
      "position": {
        "x": 2400,
        "y": 4140
      },
      "type": "eventTransformation",
      "timeSavedUnit": "minutes",
      "timeSavedValue": 0,
      "monitorAllEvents": false,
      "monitorFailures": false,
      "monitorNoEventsEmitted": null,
      "form": null
    },
    {
      "disabled": false,
      "name": "RANGE",
      "description": "",
      "options": {
        "mode": "message_only",
        "loop": false,
        "payload": {
          "range": "=RANGE(7, my_action.message)"
        }
      },
      "position": {
        "x": 2400,
        "y": 4245
      },
      "type": "eventTransformation",
      "timeSavedUnit": "minutes",
      "timeSavedValue": 0,
      "monitorAllEvents": false,
      "monitorFailures": false,
      "monitorNoEventsEmitted": null,
      "form": null
    }
  ],
  "links": [
    {
      "sourceIdentifier": 0,
      "receiverIdentifier": 1
    }
  ],
  "diagramNotes": []
}
```
