ContributionsMost RecentMost LikesSolutionsLength in using expression Hi, I have a scenario where I need to filter out json based on length of a particular element. so in Source if json is like this:- [ { “SaleDatas”: { “DataId”: “”, “AmazonDataId”: “Sale.purchase_4”, “AmazonDataName”: “”, “Name”: “Sale.purchase_4”, “DataType”: “”, “Value”: “Windows 11 Pro”, “AmazonDataIdf”: “” } }, { “SaleDatas”: { “DataId”: “”, “AmazonDataId”: “2036”, “AmazonDataName”: “”, “Name”: “colour_name”, “DataType”: “”, “Value”: “Platinum”, “AmazonDataIdf”: “” } } ] in target I need only :- [ { “SaleDatas”: { “DataId”: “”, “AmazonDataId”: “2036”, “AmazonDataName”: “”, “Name”: “supplier_colour_name”, “DataType”: “”, “Value”: “Platinum”, “AmazonDataIdf”: “” } } ] I need a filter snaps expession either using length or numeric of “AmazonDataId”. i.e if AmazonDataId.length==‘4’ then only pass through filter snaps. Expression error after inner join using join snaps Hi, Getting below expression error in mapper after join snaps:- Expression worked for 7 previous documengts, but failed on document #8 with the error: $[‘$’] is undefined SolvedRe: Join 2 arrays Hi, Thanks it solved the problem. Although when i am trying to use CSV Formatter after join getting error:- Failure: Index -1 out of bounds for length 0, Reason: Snap failed unexpectedly and did not provide any reason I am mapping like below:- $Name $[‘$’] Re: Join 2 arrays Hi, Could you please try to run this file, file2.txt (4.9 KB) seeing: Failure: Json Splitter expects a list, Reason: Found an object of type class java.util.LinkedHashMap, Resolution: The path $.ObjectRef needs to refer to a list in the incoming document Re: Join 2 arrays Hi @bojanvelevski , have a look at it please. Re: Join 2 arrays Hi, I made few changes but still these two changes, I am not able to solve. Appreciate your help! File is attached. file2.txt (5.0 KB) Re: Join 2 arrays Hi,Thank you for the pipeline. There are 2 issues in the pipeline:- If we use jsonPath($, “$ContentObjectProperty[*][‘$’]”).filter(x=>x!='feature ') it picks all the content even from shortText and longText. We need to pick only Name. 2)I see an error at JSON Splitter3 Failure: Json Splitter expects a list, Reason: Found an object of type class java.util.LinkedHashMap, Resolution: The path $.ObjectRef needs to refer to a list in the incoming document Re: Join 2 arrays Hi Sample xml File is uploaded in the original question. I need to create output csv file having output as:- Uber John Uber Michael Ola Shane Ola Wick Re: Join 2 arrays Thank you, could you please tell me what should be the json path for splitting the array? Join 2 arrays I have 2 different arrays, one having id, header and another having id,name. Need to join these 2 arrays and get an output file of id,header,name. I need json splitter json path, I have just for id which is jsonPath($, “id[*]”). How do I include both id and header. File.txt (4.2 KB) Solved