Hi people.
I trying to parse an Arry to extract a key and value from an object inside the other.
When I place: {{$json[“body”][“order”][“tracking_parameters”]}}
Return the Array. This is correct.
But, whem I try apply a find in this array, I reciva an sintax error.
{{$json[“body”][“order”][“tracking_parameters”].find(item => item !== null) || {}}}
Why?
Witch is the right sintaxe to do it?
n8n 1.1
Hi @leoborlot
Can you provide an example workflow with some sample data so we could look into this more closely for you?
ivov
4
Arrow functions are currently not supported in expressions. See here:
2 Likes