2022.2

Table Of Contents
DoyouintendtoexpandtheprojectintoasolutionwhereWorkflowrunsonadifferentmachinethat
alsohasadifferentregionalsetting?ThenindicatethedesiredencodingintheDesignerpreferences
(see"SampleProjectdeploymentsettings"onpage802)beforeinstallingtheproject.
The form
Ifyouwanttoaddinputstotheformandextractthesubmitteddata,here'showtodothat.
1. OpentheWebsectionandaddelementstotheWebForm(see"UsingCOTGElements"on
page536and"UsingFormelements"onpage507).
Youcouldalsoaddtext,imagesandotherelements(see"Contentelements"onpage566)and
changethelayoutofthepage(see"Stylingandformatting"onpage671).
2. SavethetemplateandsendittoWorkflow(see"SendingfilestoWorkflow"onpage418).
3. UploadtheWorkflowconfigurationtotheserver(seeSavingandsendingaWorkflowCon-
figurationinWorkflow'sOnlineHelp)andlettheprocesssavetheinputdatatoafile(see"Saving
inputassampledata"below).
4. Usethesavedfiletoexpandthedatamappingconfiguration(see"Openingadatamappingcon-
figuration"onpage204).SendthedatamappingconfigurationtoWorkflow.
5. SendtheWorkflowconfigurationtotheserver.
Saving input as sample data
Saving input as sample data
TestingaprocessinDebugmodeisonlypossiblewithasampledatafile.Theprocessispre-con-
figuredtousetheSampleData.xmlfilelocatedintheConfigurations\Datafolder.
Tocreateyourownsampledatafile:
1. LocatetheWorkflowconfigurationintheConfigurations\WorkflowfolderandopenitinCon-
nectWorkflow.
2. Selecttheprocess.
3. EnabletheSend to Folderstep(step2intheprocess).
4. SendtheWorkflowconfigurationtoPlanetPressWorkflowservice(seeSavingandsendinga
WorkflowConfiguration)andrunitagain,withacustomnamevalue.
TheSendtoFolderstepwillnowwritetheinputdata-thejobfile-toafileintheWork-
space\Debugfolder.
Whenyouselectthefileassamplefile(ontheDebugribbon),itcanbeusedtodebugtheprocess.
Tip: Thesavedfilecanbeusedtocreateadatamappingconfiguration.
Page 146