AT_MOST

Limits a number to a maximum value.

Syntax 

AT_MOST(number, maximum)

Usage examples 

Example 1

Input

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

Formula

AT_MOST(my_action.message, 5)

Output

4

Example 2

Input

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

Formula

AT_MOST(my_action.message, 3)

Output

3

Sample Actions 

Event transform
My Action
Event transform
AT_MOST
Event transform
AT_MOST

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?