2022.2

Table Of Contents
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"onthenextpage).
Finally,entertheusernameandpasswordthatwillallowthesoftwaretoaccesstheConnectServer.
Testingandrunningtheproject
OncetheSampleProjecthasfinishedtheinstallation,theprojectisreadytobetested.
1. Ifthetemplatesanddatamappingconfigurationshaven'tbeensenttoWorkflowyet,dothatfirst
(see"SendingfilestoWorkflow"onpage418).ThisrequiresthattheWorkflowserviceisrunning
(seeStartingtheWorkflowserviceinWorkflow'sOnlineHelp).
2. SendtheWorkflowconfigurationtoPlanetPressWorkflowservice;seeSavingandsendinga
WorkflowConfigurationinWorkflow'sOnlineHelp.
3. AccessthewebpagebyenteringthefollowingURLinabrowseronthemachinethatrunsWork-
flow:http://localhost:9090/form.(TheprocessstartswithaNodeJSServerInputtask,
andWorkflow'sNodeJSServerlistensonport9090bydefault.)
4. Fillinsomedataandsubmittheform.YouwillnowbepresentedwithaThankYouwebpage.
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.
Notehoweverthattheprocesswillnotreturnthewebpagetoabrowser,asitwasn'tstartedbya
browser.
Page 160