cancel
Showing results for 
Search instead for 
Did you mean: 

Snaplogic Last one before record

sravankunadi
New Contributor II

Identify the record if the entity.success = false then get the one last before record.

For example: if we have 50 records and the last record we got as false, so i want the 49 record value

image

What i am trying to do here is if the last record entity.success =false then capture the before record entity.nextpageToken

  1. If entity.success =false
    image

  2. if entity.success=true record looks like below and we would like to get the entity.nextpagetoken
    image

How can we achieve this in Snaplogic?

11 REPLIES 11

sravankunadi
New Contributor II

any inputs on this please?

Cant you use Head/Tail snaps for this?