How to retrieve data or no. id from previous step when using katalon studio for testing

Maybe write out your registration id to a spreadsheet between test runs and then read the registration id back in from that spreadsheet.