Hello @Pippobaudo89
I had a look to the upgrade, and based in all possible casuistic… the best implementation would be within a loop.
Be aware about your n_luggage estimated column, as it’s underestimating all the way down in the table (based in ‘From’ and ‘To’ columns).
20230630_generate_sequence_v3.knwf (65.7 KB)
Now leading string and numeric length is automated via variable, so you don’t have to take care on workflow customization.
I hope this deploy of the workflow, fits better with your use case.
BR
