cancel
Showing results for 
Search instead for 
Did you mean: 

Doing a Lookup In SnapLogic? [Help]

JPaps
New Contributor III

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?

1 ACCEPTED SOLUTION

bojanvelevski
Valued Contributor

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

View solution in original post

16 REPLIES 16

I would have expected the CSV Parser to remove those double quotes. But I’m glad you figured it out.

BTW, where/how did you put the replaceAll in the Join snap settings?