cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

How can we compare two records of same table in SNAPLOGIC without using Diff snap ,I need to use ELT snappacks to implement this

AAKASH
New Contributor

I have old and new data of same table and I need them to compare and find out the inserted and updated records ,how I can use this using ELT snaps I donโ€™t want to use diff snap

1 REPLY 1

bojanvelevski
Valued Contributor

What about the Join snap? You can cover quite a few scenarios just by using the Join snap and a Router.
Example:

Left Outer Join +
Router: $.get('id) != null && $.get('input1_id')

This would be an insertion.

Left Outer Join +
Router: $.get(โ€˜updated_dateโ€™) != $.get(โ€˜input1_updated_dateโ€™)

And this would be an update.