I want to convert a CVS which I'm reading from Object Store and while retrieving the value from that Object I'm getting below output, INPUT to Object store:
%dw 2.0
output application/json
---
{
"licNo" : attributes.queryParams.LicNo,
"errMsg" : attributes.queryParams.errMsg
}
Output I'm getting after using RetrieveAll node is below: Output:
12344,12345,12346
Server Error,Mule Error,Server Error
But the output I want is given below:
Licence No.,Error Message
12345,Mule Error
10234, Error
12045,Server Error
12305,Mule Error
I have deployment in few days, please someone help me. TIA
Thanks and Regards, Kunal Awasthi,