Pickup XML datasets with traffic-light orphan routing. This script is still in development.
XML Pickup is a great configurator but its error handling for orphaned jobs is not ideal. If you have any orphaned jobs, to further process them, you need to route them out of problem jobs (something to be avoided). This script attempts to remain faithful to the XML Pickup configurator while allowing for more graceful orphan/error handling via traffic-lights.
Pairs a metadata and job file based on a filename pattern.
The filename pattern to match the asset and metadata to. The pattern should be from the perspective of the asset job. If you're expecting JobA.pdf and JobA.xml, then the pattern to match would be *.xml.
The amount of time to wait before giving up on pairing a file if only one is received.
Pick up a dataset file from another location, similar to inject.
The valid absolute path to the dataset.
The incoming job is the XML dataset. The contents of the job are consumed and the job itself is sent out.
The name of the external dataset the XML will be tied to.