Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
RVeitch_84
Creator
Creator

JSON loop query

Noob question...

I'm trying to parse a json file, here is an example outline and I have attached the example file.

Basically I have an order id & location_id with 2 line_items and 2 tenders.

0695b00000JO9pbAAD.jpg

I would like to have the following output (see attached sample.txt), but can't figure out how to setup tFileInputJSON to get it to work?

Thanks for any help.

Labels (3)
2 Replies
Anonymous
Not applicable

Hi

There are two loop elements line_items and tenders in this json file, you need two tFileInputJson components to read separately each loop element, then merge all the columns based on the same order id in next subjob.

 

Regards

Shong

tjohn
Contributor
Contributor

Hi

hope this will help . Please find below screenshots :

0695b00000JPRoOAAX.png0695b00000JPRoTAAX.png