Forum Discussion
@alex.panganiban.guild use attached pipeline.
removeDuplicateEntry_2022_07_25.slp (5.3 KB)
- bojanvelevski5 years agoValued Contributor
Hello @alex.panganiban.guild,
You cannot access the ‘name’ field directly because as you said, you have a mixed data type array. You first need to access the object, and than the field that you need from that object. So , if you need to get the index number of an object, you can use this function:
$arrayField.findIndex(x=>typeof x == “object”)
And if you want the index number of the ‘name’ path of that object, you can use the following function:
$arrayField[$arrayField.findIndex(x=>typeof x == “object”)].keys().findIndex(x=>x == ‘name’)
Hope you’ll find this helpful,
Regards,
Bojan - alex_panganiban5 years agoContributor
Hi Bojan, thank you so much for your response and the solution you shared with me. It’s not exactly what I was hoping for, but it works great, so I’ll take it gratefully! Again, thanks so much for your help!
Alex
Related Content
- 2 years ago
- 11 months ago
- 2 years ago