I need to split output based on the number of documents.
My idea is to let job preset sort records based on external sort, then to use metadata sequencer to split according to predefined number and after that use Create output to create one file for each sequence.
Apparently that does not work that way. Metadata sequencer selects a defined set, but Create output plugin always create output for the entire job.
I know that splitting by document number can be done in Output preset, but that’s not an option in this case. Currently I want to split only by the number of documents, but that will be upgraded to more complex logic in the future.
Can this be done with metadata sequencer, or is there another solution for this?