06-25-2018 04:19 AM
Hi All,
I have a variable number of records coming from a mapper and will always want to drop the first. Is there an easy way to do this?
Thanks,
Mark
Solved! Go to Solution.
06-25-2018 08:48 AM
If you need to drop records, the Filter snap is usually a good option. In this case, you can use the snap.in.totalCount
variable to get the total number of records that have been read by the snap. So, to skip the first one, you can use the following for the Filter Expression in the snap configuration:
snap.in.totalCount != 1
06-25-2018 08:48 AM
If you need to drop records, the Filter snap is usually a good option. In this case, you can use the snap.in.totalCount
variable to get the total number of records that have been read by the snap. So, to skip the first one, you can use the following for the Filter Expression in the snap configuration:
snap.in.totalCount != 1
06-26-2018 12:59 AM
That’s nice thank you.