cancel
Showing results for 
Search instead for 
Did you mean: 

Merge multiple documents to an array in ultra pipeline

thilkip
New Contributor

We need to merge multiple documents to single array and looking for help. Since it is ultra task, we are running out of options…

Input data:

[
{“Record”: “1”},
{“Record”: “2”},
{“Record”: “5”},
{“Record”: “4”},
{“Record”: “6”}
]

Expected Output:
[ “response”: [{“Record”: “1”}, {“Record”: “2”}, {“Record”: “5”}, {“Record”: “4”}, {“Record”: “6”}]
]

25 REPLIES 25

JensDeveloper
Contributor II

Hi @koryknick

Thank you for the answer. I aslo found my own mistake in ultra tasks you just get the url by using the variable $path_info in a mapper. I used a pipeline parameter _PATH_INFO but that only works in triggered task.

Regards

Jens