MAX

Returns the argument with the highest numeric value. Can either be called with a single argument which must be an array or multiple arguments

Syntax 

MAX(array) or MAX(number1, number2, ...)

Usage examples 

Example 1

Input

1
{
2
"my_action": {
3
"message": 13
4
}
5
}

Formula

MAX(my_action.message, 20)

Output

20

Example 2

Input

1
{
2
"my_action": {
3
"message": [
4
1,
5
3,
6
2
7
]
8
}
9
}

Formula

MAX(my_action.message)

Output

3

Sample Actions 

Transform
My Action
Transform
MAX

Select an action to inspect

You can also click "Copy actions" and paste them in your Tines story to see how they work.

Was this helpful?