Get data from an Array

What are you trying to achieve?

I have an Array (144. saleMetas). When the value of the field (meta_key) is (sck) the function should return the value of the field (meta_value).

My array has the following fields:
saleMetas
id
sale_id
meta_key
meta_value
created_at
updated_at

Steps taken so far

I’m using this and it’s not working.
{{first(map(144.saleMetas; “meta_key”; “sck”); “meta_value”)}}

Screenshots: scenario setup, module configuration, errors

You are almost there.

This function should do the trick:

{{map(144.saleMetas; “meta_value”; “meta_key”; “sck”)}}

You can add first function if it’s still needed after that like this:
{{first(map(144.saleMetas; “meta_value”; “meta_key”; “sck”))}}