2019.2

Table Of Contents
1.
Locate the Workflow configuration in the Configurations\Workflow folder and open it in
OL Connect Workflow.
2.
Select the pr_tran_generate_output process.
3.
Open the Debug ribbon and click Run.
The debugger always skips the first Input task. It needs a sample data file to work with.
Normally you'd have to select a sample data file in Workflow. However, the project is pre-
configured to use this file: Sample Data.xml (located in the project's Configurations\Data
folder). The dates in the file are based on the date on which the project is installed.
A successful test run results in the following output in the Workspace\Out folder:
l One PDF containing all invoices, grouped by customer number.
l A subfolder containing PDFs that have one invoice each.
l A subfolder containing one PDF per customer. (Some customers have more than one
invoice.)
Running the project
Having tested the project, you will be ready to send it to PlanetPress Workflow service; see
Saving and sending a Workflow Configuration in Workflow's Online Help.
To test the project when it runs on the server, copy the Sample Data.xml file from the
Configurations\Data folder to the Workspace\In folder. The same output should appear in the
same folders as before.
Project details
The invoice template
The invoice is designed in the PR_TRAN Invoice template. It contains one Print section (see
"Print sections" on page487) and one Master Page (see"Master Pages" on page505).
The Media (virtual stationery) is included in the output - it is printed on the page's background -
, according to a setting in the Output Creation Presets.
Styling is done via style sheets (see "Local formatting versus style sheets" on page741). The
style rules are in the context_print_styles.css file. Note how they combine the HTML tag, ID and
class of elements to select them. (See also: "Selectors in Connect" on page878.)
Page 196