How can we use batch service to export a table data

Hi Admin,

I have a huge data in the process instance table, I want to migrate all the instances to a new environment database/CSV file. How can I use flowable batch service such that when we execute each time it will take part of the data let’s say 10 records and copy it to CSV files/db and repeat until all the instances are completed?


We shouldn’t get the data all at a time, need to get like 10 records to export this is one job it should like again it should take 10 records and export… repeat until all is done…

++ @filiphr