Forum Discussion
2 Replies
- aditya_gupta41Contributor
Hello,
The batches is managed by Pipeline Execute.
- bojanvelevskiValued 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"