When profiles are not enough: Process plans

When you look at the profile window, you'll see that the list of profiles contains two different types of items.

  1. Regular profiles, recognizable by their blue icons.
  2. Process plans, recognizable by their yellow icons.

Process plans behave like profiles in most ways. They can be run on PDF documents, you can import and export them, they can live anywhere in the profiles windows (they can be in any group, not just the group named "Process plans" as shown in the example above). But process plans are built differently and they can be used to solve different problems.

Why Process plans?

Process plans were invented to solve two very distinct problems:

  • In a profile you can have checks and fixups, but you cannot control the order in which these are executed. For checks that is not a problem, checks do not change the PDF document they are run on so their order is irrelevant. But for fixups this can be a real problem. Sometimes you need to do things in a certain order.
  • Sometimes you need to be a little careful when you execute a fixup; you really only want to perform a fix if a certain condition is met.

Process plans make both of these things possible; you can control the order of execution and you can do conditional processing based on the result of a check or profile.

Anatomy of a Process plan

Process plans are quite simple, below is the process plan editor with its major parts:

  1. Process plans of course have a name and description, just as profiles.
  2. This area at the top details what you can use as the steps in a process plans. Profiles, checks and fixups are described in this manual, actions and variables go beyond the scope of this manual but are described elsewhere in the online help.
  3. The first step in this process plan is always executed; in this example that is a profile. Notice the up and down arrows to allow changing the order of the steps in the process plan. This allows determining what exactly the order is going to be of all of the steps in the process plan.
    The "On Error", "On Warning", ... options allow you to specify what needs to happen based on the result of this first step. This could simply be executing the next step, but the options can also be used to jump to a specific step in the process plan or exit the sequence altogether.
  4. This second step is an action, which was created in the Switchboard and which will re-distill the file.
  5. The last step in this example is the same as the first step. This is to re-execute the same profile if the first step wasn't successful and thus the re-distill action was used.

Process plans in pdfToolbox 11

With pdfToolbox 11, users get a visual editor in which the steps can be clearly arranged and linked. The figure shows the editor "Edit process plan":

Area at the top: Basic information on the process plan

1. Field for naming the process plan (appears later in the "Profiles" window)

2. Button for adding a variable to the name of the process plan

3. Button for locking or unlocking the process plan

4. Pop-up menu: Here you can store metadata on the author of the Process plan including e-mail, password and description. This description is then displayed in the "Profiles" window and helps to communicate the purpose of the process plan.

The horizontal bar below: Editing and View Modes

5. Undo / Restore / (Delete connection, not visible in this view)

6. Reduce view / Reset zoom / Enlarge view / Adjust view to window

7. Show or hide connection info

8. Enable or disable automatic alignment to the grid

9. Generate layout automatically (Note: This cannot be undone (only by "Cancel", but then all other changes will be lost))

Vertical area on the right: List of elements that can be included in Process plans

10. Process plan, Profile, Variable, Check, Action, Fixup, create PDF copy, Quick Check, pick up file, Rename PDF. "Rename PDF" has been added to pdfToolbox 11.

Main field in the middle: Area for arranging sequences

11. Example of a sequence step

12. Example for connection type

Horizontal area below: Completing the set-up Process plan

13. Before saving, you can check the process plan in practice by clicking on the "Test" button. More about the test mode in pdfToolbox can be found in the chapter "How to use the test mode".

14. "Cancel" editing

15. Press "OK" to save the process plan.

 

How is a Process plan structured?

Process plans always have a start point, at least one sequence step and one end point.

Between start and end, sequence steps from the repertoire can be placed from the right-hand side. Sequence steps are possible in the following categories:

  • Process plan
  • Profile
  • Variable
  • Check
  • Action
  • Fixup
  • Create a PDF copy
  • Quick Check
  • File pick-up
  • Rename PDF

Set up Sequence steps

If you click on a placed sequence step, a pop-up menu is displayed on the right side, in which all profiles / checks / Fixups / etc. available in pdfToolbox can be selected - in each case suitable for the type of sequence step.

  1. A Sequence step can be activated or deactivated via the control field "Activate step". Deactivation is useful in cases where a step is to be skipped.
  2. Variables for activating the Sequence step can be integrated via the small orange triangle.

Connecting Sequence Steps

Sequence steps have four nodes that can be used to connect individual steps. To do this, click on the area of the initial step and lead the displayed connecting line to the desired next step.

Connection type

If you click on a connection line, you can use the checkboxes displayed on the right-hand side to specify the conditions under which a subsequent and connected step is to be triggered (not all connection types mentioned here will necessarily be visible, as they are context-dependent):

  • If successful
  • In case of error
  • Warning
  • Info
  • If deactivated

You can also carry out the following in postprocessing:

  • Create a report, whereby the report type can be set.
  • Create a Certify PDF

These two options are only available for certain sequence types.

0 Comments

Send Your Comment

E-Mail me when someone replies to this comment