ContributionsMost RecentMost LikesSolutionsRe: How to get filename from file reader omiaye Coupe of options how to get the filename: Directly from the Directory Browser Snap: Put a Copy Snap after the Directory Browser Snap with Mapper on the second branch in order to map the name of the file. Field containing the name of the file should be names as "Name". And then you can join the stream after CSV Parser Snap. Directly from the File Reader Snap: Put a Binary Copy Snap after File Reader Snap with Mapper (input view to be in Binary type) on the second branch in order to map the name of the file. Two fields that you can look up in order to get the file name: content-disposition or content-location. You will need to utilize the SnapLogic functions in order to extract the filename and then you can join the stream after CSV Parser Snap. BR, Spiro Re: Generate expression file from database query XanderVR Achieving the desired output (without the getValue function) can be done using the reduce function. First you need to group the records by $code, using Group By Fields snap. After that following expression can be used: {[$groupBy.code]:$group.reduce((acc, curr) => acc.extend({[curr.source]: curr.target}), {})} BR, Spiro Re: Only execute child pipeline if BigQuery result is not empty Colossal8333 With the Data Validator Snap (and the constraint that you've put), if no rows are returned, the snap (Data validator) will throw an error and the pipeline will fail. - or maybe that's the behavior that you want to achieve. 🙂 Another option that you can check is Filter Snap. If the filter expression evaluates to true, the document is passed through. If the filter expression evaluates to false, the document is dropped in the stream. BR, Spiro Re: records to json file manohar Please find the attached 2 pipelines. Parent pipeline will extract the source data, will pass to the child, and the child pipeline will write the file with the Id in the filename. BR, Spiro Re: Transpose columns(Dynamic) into rows. kumar25 The attached pipeline might help you achieve your objective. BR, Spiro Re: Parsing CSV file arvindnsn Check the Header size error policy configuration within the CSV Parser Snap: With Trim record to fit header you should be able to parse the CSV data. Re: API without parameters returns empty JSON maahutch In the FIlter Snap, you can put a ternary condition, checking if the _dataset_name parameter is empty or not. If it is empty, process all records, if not, select only that record: _dataset_name != "" ? db_field == _dataset_name : true I supoose that you are filtering the data by comparing some input field with the provided parameter from the user. If so, then above expression should help (just replace db_field with the field name you are using for comparing.) Re: Renaming multiple items in an array AvaniAnand If you want to add another mapping rule, you can do that withnin the existing mapKeys function: map(x => x.mapKeys((value, key) => key.contains('Memo') ? "description" : (key.contains('unique_id') ? "custcol_xero_unique_key" : key))) Or, if you need to add conditions for more fields than also you can utilize the match operator. Re: JSON path and case insensitive search Not sure if JSONPath itself natively support case-insensitive comparison or regex matching directly(considering that it only returns single value). Re: JSON path and case insensitive search Don Find the attached sample pipeline. It uses array filter function for filtering the elements. Hope it will helps.