2021.1

Table Of Contents
Tip
Have a look at the project wizard: "Project Wizard: COTG Timesheets" on page146. This
wizard creates all parts of a sample COTG project, including the Workflow and data
mapping configuration.
Using COTG data in a template
When a user submits a COTG Form, a Workflow configuration may store the information in a
database and/or push it into other Workflow processes, for example to send a letter or an email
receipt. To be able to use the submitted data in a template for that letter or email receipt, follow
these steps:
1. Get sample data
Before you can create a template that uses COTG data that is submitted from a certain
COTG Form, you have to get access to a sample of that data. There are two ways to do
this:
l Using the option Get Job Data File on Submit in Connect Designer; see "Testing a
Capture OnTheGo Template" on page593. This way you don't have to create a
Workflow configuration first. Once the Job Data File is received by the Connect
server, a dialog appears asking where to store it.
l Using a Workflow configuration. When a user submits a Capture OnTheGo Form,
the data are received by a Workflow HTTP Server Input task (see Workflow Help:
HTTP Server Input) that receives and handles the submitted data. Even when no
other tasks are present in that Workflow configuration, Workflow can output an XML
file that contains the submitted data, in a location specified for the Send To Folder
plugin in Workflow.
Note
When a COTG Form is submitted, by clicking or touching the Submit button, the
name and value of form elements are submitted. If a Checkbox or Radio Button is
not checked, its name and value are not sent when the form is submitted.
Fortunately, there is a workaround for this; see "Using COTG Elements" on
page587.
The Form's validation should ensure that the data that the user submits is valid (see
Page 567