10-13-2021 01:47 PM
Hi,
I have the following use-case and I haven’t found any way to get it done within SnapLogic. I am wondering if it is possible at all using this tool.
I have a CSV File in Snaplogic Designer with the following fields (example) $ID, $Name, $AmountPaid1, $AmountPaid2.
I also have an Excel File with the following fields: $ID, $AmountPaid2.
I want to alter the original CSV file by “looking up” the excel file and replacing the value of $AmountPaid2 (in the CSV) with the value of $AmountPaid2 from the excel file, only where $ID from the excel = $ID from the CSV.
Any suggestions?
Solved! Go to Solution.
10-13-2021 10:19 PM
Hi @JPaps,
Yes, developing this logic in SL is very much possible. I am attaching a sample pipeline which does exactly what you need:
Lookup_2021_10_14.slp (8.9 KB)
Regards,
Bojan
11-03-2021 11:27 AM
I would have expected the CSV Parser to remove those double quotes. But I’m glad you figured it out.
11-03-2021 11:29 AM
BTW, where/how did you put the replaceAll in the Join snap settings?