
Sort jobs in folders based on Ad Ticket job ID
This example flow retrieves the XMP information from a PDF file. Folders are created based on the job ID field from the XMP information. All files are moved to the folder with the matching job ID.
This flow is compatible with: PowerSWITCH.
Information

When a job is dropped in the "Input" folder, it is handed over to the XMP Pickup tool. This retrieves the XMP information that is stored inside the incoming job and stores that XMP information with the job ticket of that job.
Next, the script element will run a script that accesses the XMP information in the SWITCH job ticket and returns the job ID from the Medibel+ or Ghent PDF Workgroup Ad Ticket. This job ID is added to the hierarchy information for that job. If no job ID was found, the level "unknown" is added to the hierarchy information.
The archive hierarchy creates a folder structure based on the job ID placing every file in the correct subfolder. All files that didn't contain a job ID are placed in the "Unknown" folder.
More information about the Ghent PDF Workgroup Ad Ticket is available at: www.gwg.org
Using this flow
- Download the flow and save it on your computer: download flow
- Launch PowerSWITCH
- Use the “Flow > Import…” menu item
- In the dialog that is shown, select the flow file
The flow now appears in the flow list. You can now examine or customize it to your needs.
