Syntax
FORCE_ARRAY(anything)
Usage examples
Example 1
Input | 1 { 2 "my_action": { 3 "message": "a string" 4 } 5 } |
Formula | FORCE_ARRAY(my_action.message) |
Output | 1 [ 2 "a string" 3 ] |
Example 2
Input | 1 { 2 "my_action": { 3 "message": "Hello World" 4 } 5 } |
Formula | FORCE_ARRAY(my_action.missing_key) |
Output | [] |
Example 3
Input | 1 { 2 "my_action": { 3 "message": [ 4 "1", 5 "2", 6 "3" 7 ] 8 } 9 } |
Formula | FORCE_ARRAY(my_action.message) |
Output | 1 [ 2 "1", 3 "2", 4 "3" 5 ] |
Sample Actions
Transform
My Action
Transform
FORCE_ARRAY
Select an action to inspect.
You can also click "Copy actions" and paste them in your Tines story to see how they work.