I have a use case to do pagination in webservice using before and after rule and
I have explored IdentityIQ compaas and discussion forum found
these ways to achieve pagination in webservices in IIQ
1.using paging steps in webservice connector if we can offset and limit webservice application
2.Before rule and After rule
I tried to use them from the sample provided by sailpoint but I don’t know what the values I should provide in transient values map and how to use hasmore both in before rule and after rule
is there any other way to achieve pagination in webservices
See the below code and let me know if any input needed. If you need something specific to your response and request, then please share the sample for the same.
Note:
This After Rule stores the “cursor” and “has_more” values, from the response, in a map named ‘transientValues’ in the Application object. This map will store the necessary information which will be used by the BEFORE RULE to manipulate the next API call. Please note that the flag indicating whether the managed system contains more records is stored by the key named “hasMore”. This field is MANDATORY as it will the deciding factor for aborting the pagination requests.