2022.2

Table Of Contents
1. SendtheWorkflow configurationtotheOLConnectWorkflowservice;seeSavingandsending
aWorkflowConfigurationinWorkflow'sOnlineHelp.
2. AccessthewebpagebyenteringthefollowingURLinabrowseronthemachinethatrunsWork-
flow:http://localhost:9090/hello.
3. FollowtheinstructionsonthepagetoseehowvaluesintheURLchangethetextofthepage.
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.
Tip: Thesavedfilecanbeusedtocreateadatamappingconfiguration.
Projectdetails
The web template
ThewebpageisdesignedintheWEB_HELLO Web Pagetemplate.ItcontainsoneWeb section(see
"Webpages"onpage498).
Stylingisdoneviastyle sheets(see"Localformattingversusstylesheets"onpage671).Thestyle
rulesareinthecontext_web_styles.cssfile.NotehowtheycombinetheHTMLtag,IDandclassofele-
mentstoselectthem.(Seealso:"SelectorsinOLConnect"onpage825.)
Thereareonlytwoscriptsinthetemplate,asyoucanseeontheScriptspane.Youcandouble-clickto
openthem.
Page 165