Expression find from array

Hello so I have data result in an array and I want to find only some row on the condition can I use ${parametr.some.find()} or exist some other way?


this method does not work
image
And here is my data

Thank you

The code you have pasted will return the first item always as the condition MachineId == MachineId is always true . You probably need something like find(item => item.MachineId == MachineId)

Hallo
Thank you but the find in Expression return error that find is not a function.
${find(DataCalling => DataCalling.MachineId == MachineId)}

You still need to use the find method of the array - just change its argument:

${DataCalling.find(item => item.MachineId == MachineId)}
1 Like

Ok thank you this is it what i need :smiley: