2022.2

Table Of Contents
Tocaptureinputdatafromadifferentsource:
1. ReplacetheFolderCaptureInputtaskbytheappropriateInputtask.See:InputtasksinWork-
flow'sOnlineHelp.
2. AddaSend to FoldertaskdirectlyafterthenewInputtaskandsetitsoutputfoldertotheWork-
space\Debugfolder(%{global.pr_prom_workspace}\Debug).Thistaskwritesthejob file
toafile,whichcanthenbeusedassampledatafilewhencreatingadatamappingconfiguration
anddebuggingtheWorkflowprocess.
3. Runtheprocessonce(see"Testingandrunningtheproject"onpage136)tocapturethejobfile
thatcontainstheinputdata.
4. Usethatfiletocreateanewdatamappingconfiguration,sendthedatamappingconfigurationto
Workflow,andadjusttheWorkflowconfiguration,asdescribedabove.
Note: IftheinputdataisJSON,youdon'tneedadatamappingconfiguration:JSONdatacanbe
usedinatemplateasis.See:"AddingJSONsampledata"onpage720.
However,ifyouwantthedatatobesavedintheOLConnectdatabase,puttheXML/JSONCon-
versionpluginbeforetheSendtoFoldertasktoconverttheJSONtoXML,andcreateanXML
datamappingconfigurationtoextractthedata.
The email
OftenthistypeofemailhasaCall to Actionbuttonwhichredirectstheusertothewebsiteofthe
vendor,wheretheusercouldlogontothesiteandfollowanonlinepaymentprocess,forinstance.
Togetanexample(ortostartover)youcoulduseoneofthetemplatewizardsthatstartan'action
email';see"EmailTemplateWizards"onpage477.
Youcouldaddtext,imagesandotherelementstotheemail(see"Contentelements"onpage566)and
changethelayout(see"Stylingandformatting"onpage671).Keepinmindthoughthattherearespe-
cialdesignstandardsforHTMLemail(see"DesigninganEmailtemplate"onpage472).
Inordertofurtherpersonalizetheemail,openyourdatamappingconfiguration(orJSONdata,ifthe
inputdatawillbeinthatformat;see"AddingJSONsampledata"onpage720)andusethedatafields
topersonalizetheemail.(See:"Personalizingcontent"onpage708.)
Tip: TheDesignercanhaveonedatamappingconfigurationandonetemplateopenatthesame
time.Usethetabsatthetopoftheworkspacetoswitchbetweenthetwo.Clickthesynchronize
buttonontheDataModelpanetomakesurethattheDataModelsarethesameinboth.
Oncethetemplateisready,sendittoWorkflow(see"SendingfilestoWorkflow"onpage418).
Page 140