Forum Discussion
Hi Dimitri thanks for the quick reply I am attacting the screenshot can you please look into this. I have also tried json splitter but it is not working And the file header shoud be first array.
I am expecting in
Hi @mjain
Here’s a pipeline in which the elements in the nested array are transformed into JSON documents that can be consumed by a CSV Formatter Snap.
Array_to_CSV_2020_07_03.slp (7.2 KB)
Hope it helps.
BR,
Dimitri
@AdrianH, I have run into similar cases. I think this would be a valuable enhancement request:
To allow the standard pipeline HTTP Response to be overridden by either an “HTTP Response” snap (or ability to create a custom override snap), or the most convenient way would be allowing to set HTTP Response value(s) to the “pipe” object in an array within the Pipeline flow (ex. pipe.HttpResponse.addReplace(‘headerName’,‘headerValue’)).
Pipeline parameters or Pipeline-specific configuration would not work in this case because you need the ability to determine response based on pipeline execution results.
Adrian,
AFAIK custom http response codes are supported only in ULTRA mode i.e. pipelines deployed as ultra tasks ( http://doc.snaplogic.com/ultra-tasks )Check out this thread where I have an ultra task that sets custom response headers Ultra Pipeline Functionality - #6 by Bhavin
Related Content
- 11 months ago
- 2 years ago
- 2 years ago
- 4 years ago