I want to create a list of things based on a quantity/integer

Hi,

I’m trying to create a medicines database and I want to create a list of things based on quantity e.g. 12 x Paracetamols are added into the system, it would then generate 12 lines in the table with the batch and expiry date. At the minute I can only get it to create a single entry within the workflow.

Any ideas would be appreciated please.

Run a recursive backend workflow, that will create an entry in the database… be sure to pass the ‘Quantity’ into the backend workflow, and run the recursive workflow that number of times to create the 12 database entries.