2019.2

Table Of Contents
Installation
1. Download both resource files
2.
Create a folder on your disk called c:\PReS
3.
Import the invoice.pp7 Design document into Workflow, or open it in PlanetPress Design
and send it towards your local PReS Workflow server (localhost or 127.0.0.1).
4.
Open the configuration file CaptureExampleProcess.pw7
5.
Click the PReS Workflow button (File menu) and go in Preferences.
6.
In the HTTP Server Input 2 section, check the Serve HTTP resources option, change
the Resource action name box to static , and the Resource folder to c:\PReS\http .
Then, click OK.
7.
Send the configuration to your local PReS Workflow server.
8.
Start PReS Workflow services (see "Start and stop PReS Workflow Service" on
page788).
9. Open your browser and point it to http://127.0.0.1:8080/documentlist, assuming you have
not changed the default HTTP port in the HTTP Server Input 2 section.
Explanation
You can follow along the process by looking at the comments available in each process of the
workflow file. Each comment explains both what the following plugins do, but also how it
integrates into the workflow in general and what to keep in mind when doing an actual
implementation of such a process.
Considerations
l The workflow itself is a standalone system that does not interact with any third-party
systems, which of course does not correspond to real customer implementation. A client
will most likely need to communicate with both an ERP system that generates documents
as well as an archive software to store completed documents.
l The HTML, CSS and data file are generated whenever the process starts, in a specified
location, in order to avoid having to distribute multiple static files which would need to be
extracted and moved to a specific folder. In an actual implementation, these files would
probably be edited externally and loaded from a location on the hard drive. However, the
method of using a template to generate output is not so alien to PReS Workflow so it is
not condemned to do so.
Page 334