patanNew Contributor III3 years agoSolvedI wanted to create multiple arrays from a single array based on specific Field I have the below input: “AT_Pricehash”: [ { "@TermsListID": "Test1", "ORGID":"1000", "@MinimumQuantity": 1 }, { "@TermsListID": "Test2", "ORGID":"1001", "@Mini...Show Moreviktor_n3 years agoHi @patan, If you have already array you can achieve this with group_by function in jsonPath. Like this: jsonPath($, "$array[*].group_by(value['ORGID'])") And here is the output: Regards, Viktor
viktor_n3 years agoHi @patan, If you have already array you can achieve this with group_by function in jsonPath. Like this: jsonPath($, "$array[*].group_by(value['ORGID'])") And here is the output: Regards, Viktor
viktor_n3 years agoHi @patan, If you have already array you can achieve this with group_by function in jsonPath. Like this: jsonPath($, "$array[*].group_by(value['ORGID'])") And here is the output: Regards, Viktor
viktor_nContributor II3 years agoHi @patan, If you have already array you can achieve this with group_by function in jsonPath. Like this: jsonPath($, "$array[*].group_by(value['ORGID'])") And here is the output: Regards, Viktor
Recent DiscussionsHow to get filename from file readerGenerate expression file from database queryCan we generate XML file in pretty print format using native snapLogic snaps?Solved401 error with HTTP Client and NTLMSolvedPagination and nextCursor in header