2022.1

Table Of Contents
Load External File task replaces the job file with the form. At the end of the process the Server
Input task returns the job file (the form) to the app.
Capturing data and generating output
When the user submits a form, the cotg_ts_capture_data process writes the job file - the
request in the form of XML - to a Temp folder in the Workspace and sends a response code to
the app. This way there is no need for the COTG user to wait while output is being generated.
The response to the app can be sent right away.
The cotg_ts_generate_report process picks up the XML file from the Temp folder, converts it
to JSON and saves it to a JSON file. Note how the Branch task keeps a backup of the job file. It
is the backup file - the XML - that is handed down to the next Branch, where it is saved as an
XML file.
Finally, the process extracts data from the job file and merges them with the COTG Timesheet
Report template, generating a PDF.
All output files are stored in the Workspace\Out folder
Customizing the project
A project is a great starting point for building an OL Connect solution. This part explains how to
make changes to the project.
Do you intend to expand the project into a solution where Workflow runs on a different machine
that also has a different regional setting? Then indicate the desired encoding in the Designer
preferences (see "Sample Project deployment settings" on page912) before installing the
project.
The form
If you want to add inputs to the form and extract the submitted data, here's how to do that.
1. Open the Web section and add elements to the Web Form (see "Using COTG Elements"
on page626 and "Using Form elements" on page591).
You could also add text, images and other elements (see "Content elements" on
page664) and change the layout of the page (see "Styling and formatting" on page785).
2. Save the template and send it to Workflow (see "Sending files to Workflow" on page482).
3. Upload the Workflow configuration to the server (see Saving and sending a Workflow
Configuration in Workflow's Online Help) and let the process save the input data to a file
(see "Sample Project: COTG Timesheets" on page150).
Page 156