How to fetch values from below array?

Hello Team,

I have my input coming like this,



I need to get my output like below,
“Active_Flag” = “Y”
“Data_flag” = “N”

Added above is a small example like this I have an big array from that i need to extract key and values as mentioned in the sample example. Could any of you please help me with this requirement.

Hi @Manigandan,

Use this expression
{array}.map(x => {[x[’@propertyTypeKey’]]: x.value})



Hello @viktor_n , you rock!!! It is working, thank you so much for the help!