This format represents the scenario where the same user and same accountId have multiple entitlements, and both should be aggregated as multi-valued entitlements.
I’ve enabled data merging for the entitlement attribute and set mergeRows to true. During single account aggregation everything works perfectly, but the issue occurs during full source aggregation where I’m unable to fetch both entitlements.
@lampard08 for one my of connector it works fine without order by clause in query is there any work around when I need to use order by caluse, for the above issue which i’ve faced it works fine with your suggestion. thanks!
The reason it would be working is maybe the query is already returning the data with all account together. try to test for the one already working if the data resultset in not in order already.