Synced Record Data Source Expression for Service Backed Record

Certified Senior Developer

Hi all!

Once we create a record via Web Service, we will be creating a Connected System along with Integration, now Appian creates us a new record data expression with 
a single rule input -> ri!batchNumber. 

Now, lets say I have a web API which has more than 2,000 rows of data. Now, at first iteration the batchNumber will be 1 and in next iteration the batchNumber will be 1001 i.e

for each iteration our start index ---> 1 + ((batchNumber - 1) * batchSize) 


Now, do we have to handle this manually or Appian handles by itself ?
i) Could anyone send me a sample working record data source expression code that handles the paging Info.
ii) Do we need to handle this pagingInfo in the Integration also? A sample screenshot would be appreciated for both Integration and Expression

  Discussion posts and replies are publicly visible