Pagination in CRM related records in Deluge
In Deluge, what would be the best way to iterate over a set / list with more than 200 records?
there is only a simple example on the
docs page:
- <response> = zoho.crm.getRelatedRecords(<relation_name>, <parent_module_name>, <record_id>,
- <page>, <per_page>, <query_value>, <connection>);
...
- <list_variable> = list();
- <variable> = <response_variable>.toJsonList();
- for each <loop_variable> in <variable>
- {
- <variable1> = <loop_variable>.getJson("id");
- <list_variable>.add(variable1);
- info <list_variable>;
- }
I have some ideas around `page` and `per_page` arguments but wonder what's the best approach in expert community? thanks!