2022.2

Table Of Contents
1. LocatetheWorkflowconfigurationintheConfigurations\WorkflowfolderandopenitinOLCon-
nectWorkflow.
2. Selectthepr_prom_generate_outputprocess.
3. OpentheDebugribbonandclickRun.
InDebugmode,thefirstInputtaskisskippedandtheprocessisexecutedusingasample data file.
Thisprojectispre-configuredtousethefile:Sample Data.xml.
AsuccessfultestrunresultsinasubfolderintheWorkspace\Outfolder,namedafterthecurrent
monthandyear.ThePrintoutputiswrittentothatsubfolder.Itconsistsofonefilethatshouldhavethe
properfileextension.
Running the project
Havingtestedtheproject,youwillbereadytosendittotheWorkflowservice;seeSavingandsending
aWorkflowConfigurationinWorkflow'sOnlineHelp.
Totesttheproject,whichthenrunsontheserver,copytheSample Data.xmlfilefromtheCon-
figurations\DatafoldertotheWorkspace\Infolder.Theoutputshouldappearinthesamefolderas
before.
Projectdetails
The letter template
ThepromotionalletterisdesignedinthePR_PROM Lettertemplate.ItcontainsonePrint section
(see"Printsections"onpage447).
TherearetwoMaster PagesthatareeachappliedtodifferentpagesinthePrintsection(see"Applying
aMasterPagetoapageinaPrintsection"onpage464).
TheMediacontainsthevirtualstationery.Whetherthisisincludedinoromittedfromthefinaloutput
dependsonasettingintheOutputCreationPreset.
Personalizationismostlydoneviasimpletext scripts.Suchscriptslookforatextsurroundedby@
(e.g.@city@)andreplacethatbythecorrectdata.(See:"Variabledataintext:scriptsandplace-
holders"onpage726.)
Afewscriptsarealittlebitmoresophisticated.
l
Thesales_repscriptcombinessomedatafieldsandaddsalinebreak.Double-clickthescriptto
opentheTextScriptWizardwithwhichthisscriptwasmade.(See:"UsingtheTextScriptWiz-
ard"onpage729.)
l
ThePromoscriptshowsorhidesaparagraph(withtheID'promo')dependingonwhetherthe
customer'saddressisinMontréal.(See:"Showingcontentconditionally"onpage734.)
Page 149