Forum Discussion
aditya_gupta41
3 years agoContributor
Hello,
The batches is managed by Pipeline Execute.
bojanvelevski
3 years agoValued Contributor
That complicates things a little bit. You can keep track of processed files in a file, so the next execution will know what number to use. But that will significantly slow down your pipeline 🙂
If there are no concurrent executions of the pipeline, you can simply write down a file with the sequence number used, and set that file as a library expression on the child pipeline itself, so you could easily set the next value:
Example expression in the file writer: "TEST_" + lib.config.sequence + 1 + ".txt"