Support

Register your Product

Product Documentation

Knowledge Base

Contact Support

Community

User Group

Resources

Application Library

Flow Library

Script Library

Sort on PitStop XML report content

The XML preflight reports created by PitStop are picked up as metadata. This metadata is used to sort files in different folders depending on the type of errors that were found e.g. color, font or other errors.

This flow is compatible with: PowerSWITCH

Information

All incoming files are handed over to Enfocus PitStop Server for preflighting. The preflighted file is moved directly to the data folder. The preflight report generated by PitStop is saved in XML format and goes to the to the "Report" folder first.

The script "Strip Prefix and Suffix" is used to remove the suffix "_report" which is added to the file name for every report that PitStop Server generates. This is done in preparation to the XML pickup tool. As the preflight report is a XML file, it is easy to pickup the preflight information and add it to the SWITCH job ticket of the respective file. But in order to know which report belongs to which PDF file, the file name must be the same (or the report and PDF file must be in the same subfolder which is not the case in this flow).

Once the preflight information is stored in the SWITCH job ticket for that file, you can use a script to search through the metadata and filter the files based on what was found by PitStop Server. In this example flow, a file is moved to the "Color Problems" folders the moment a preflight message is found that mentions the word "color". Messages with the mentioning of "Font" are treated in a similar way. If no font or color messages are found, the PDF is moved into the "Undefined Error" folder; files that didn't generate any preflight errors go to the "No errors" folder.

Using this flow

  • Download the flow and save it on your computer: download flow
  • Launch one of the SWITCH products this flow is compatible with
  • 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 it or customize it to your needs.

© Copyright 2007 by Gradual Software.