Hi,
I have an api flow which starts with a list of data which I want to enrich with more data in a do while loop. So far so good, but how to I transform the result of the do while so that it gives a more readable output. Does anyone have examples of this?
When I check the variable created by the do while it is a JSON with numbered objects {"1": {...}, "2":{...} ...} within each numbered object I have a JQTransform object which has the data formatted as I want. Is it possible to create a jq transform to filter out the jqtransform object from each numbered object?
Or can you do something within the do while to store the result in an array?
I hope you understand what I try to achive, any suggestions would be appreciated.
Also, do you know the difference between the result and resultList in the JQTransform output? One is an object and the other is the same object but in an array.