2022.2

Table Of Contents
Finally,inWorkflow,adjusttheprocess:double-clicktheCreate Email Contenttasktoopenit,and
selectthenewtemplate.Thisisonlynecessarywhenthefilenamehaschanged.
Workflow configuration
ThecurrentWorkflowconfigurationisverysimple.Inreality,aprocessthatgeneratesemailoutputwill
bepartofalargerproject,inwhich,forexample,invoicesareproducedinaseparateprocess,storedin
afolderandattachedtoanemailatalatertime.
ForgeneralinformationaboutprocessesinWorkflowseeAboutProcessesandSubprocesses,inthe
OnlineHelpofWorkflow.
Sample Project: COTG Timesheets
TheCOTGTimesheetsSampleProjectcreatesaCapture OnTheGo projectthatcreatesaweb page
withawebformandservesittotheCOTGapp.Whentheformissubmitted,theprojecthandlesthe
submitteddatabycreatinganXML,JSONandPDFoutputfileinafolder.
ForanintroductiontothisSampleProject,seeSampleProjectsoverviewvideoontheOLLearnweb-
site(startat25:19)oronYoutube:COTGTimesheets.
Installingtheproject
Fromthemenu,selectFile > New > Sample Projects > COTG Timesheetstostartthewizard.
Thewizardletsyouselectthefolderinwhichyouwantthesolutiontobeinstalled.SinceSamplePro-
jectsareversioned(see"Versionedprojects"onpage123),thesoftwaresuggeststostoreitintheOL
ConnectfolderthatislocatedinyourDocumentsfolder.Bydefault,allversionedprojecthavetheir
ownfolderunderDocuments/Connect.
Intheselectedfolder,theSampleProjectwillcreatetwosubfolders:ConfigurationsandWorkspace.
Theproject'sresourcefilesaresavedtotheConfigurationsfolder.
TheWorkspacefolderisusedfordebuggingorrunningthesolution.IthasanInfolderthatmaybe
usedtomonitorincomingdataandanOutfoldertowriteoutputfilesto.
Theselectedfolder'spathissavedtoaglobalvariableintheWorkflowconfiguration(see"TheWork-
flowconfiguration"onpage144).
Youalsoneedtoenterthehost.ThisaddresswillbeusedbytheCOTGapptodownloadformsand
submitdatatotheOLConnectWorkflowservice.
Ifyouwanttouselocalhost,theOLConnectServer,WorkflowandCOTGappmustbeinstalledonthe
localmachine.
AvalidCOTG account,Repository IDandpasswordarealsonecessary.Youcouldusedummydata
tocreatetheSampleProjectandfinishtheinstallation,butyouwon'tbeabletotesttheproject.
Formoreinformationabouttheoptions,see:"COTGTimesheets-SampleProject"onpage920.
Finally,entertheusernameandpasswordthatwillallowthesoftwaretoaccesstheConnectServer.
Page 141