Flatten List of Objects

Anyone have success with 'Flatten" within a formula to flatten a list of objects?

The doco says it flattens a list of lists, not objects. Hence my question

If you could provide examples if you’ve managed to get it working :slight_smile:

Thanks

Hi, FLATTEN is only for flattening lists of lists as the doc says. You can use MAP to flatten a list of objects, for example:

MAP([{name: "Jack"}, {name: "Jill"}], item.name)["Jack", "Jill"]

1 Like