How to loop and combine as one in Mule Dataweave
问题 I have request of json and expected response one as mentioned below. It need to groupBy clientItemCode and i'm halfway somewhere stuck to loop around in same. Used both MapObject and reduce combination of function. Any help will be appreciated. [ { "ClientCode": "1", "ClientItemCode": "245", "LocationId": "CLOSED" }, { "ClientCode": "1", "ClientItemCode": "245", "LocationId": "OPEN" }, { "ClientCode": "2", "ClientItemCode": "245", "LocationId": "CHECKOUT" }, { "ClientCode": "2",