2019.2

Table Of Contents
The selected folder's path is saved to a global variable in the Workflow configuration (see "The
Workflow configuration" on page205).
Testing and running the project
Once the Project Wizard has finished the installation, the project is ready to be tested.
1. If the templates and data mapping configurations haven't been sent to Workflow yet, do
that first (see "Sending files to Workflow" on page457). This requires that the Workflow
service is running (see Starting the Workflow service in Workflow's Online Help).
2. Send the Workflow configuration to PlanetPress Workflow service; see Saving and
sending a Workflow Configuration in Workflow's Online Help.
3. Access the web page by entering the following URL in a browser on the machine that
runs Workflow: http://localhost:9090/form. (The process starts with a NodeJS
Server Input task, and Workflow's NodeJS Server listens on port 9090 by default.)
4. Fill in some data and submit the form. You will now be presented with a Thank You web
page.
Saving input as sample data
Testing a process in Debug mode is only possible with a sample data file. The process is pre-
configured to use the Sample Data.xml file located in the Configurations\Data folder.
To create your own sample data file:
1.
Locate the Workflow configuration in the Configurations\Workflow folder and open it in
Connect Workflow.
2. Select the process.
3.
Enable the Send to Folder step (step 2 in the process).
4. Send the Workflow configuration to PlanetPress Workflow service (see Saving and
sending a Workflow Configuration) and run it again, with a custom name value.
The Send to Folder step will now write the input data - the job file - to a file in the
Workspace\Debug folder.
When you select the file as sample file (on the Debug ribbon), it can be used to debug the
process. Note however that the process will not return the web page to a browser, as it wasn't
started by a browser.
Page 203