2022.2

Table Of Contents
Ifthetemplatedoesn'tneedanydata,youcansettheDataSourceofthistasktoJSONandenteran
emptyJSONstring:{}.
However,ifthetemplateshouldbemergedwithdata,youwillneedtoaddoneormoretaskstoprovide
therequireddata.TheCreateEmailContenttaskmustreceiveeitherMetadatacontaininginformation
regardingavalidRecordSet,orJSONdata.Thiscanbetheoutputoftaskslike:
l
AnExecute Data Mappingtaskwhichretrievesdatafromthejobfile(suchastherequestXML).
InadditiontocreatingrecordsintheConnectdatabase,thistaskcanoutputthe(IDsofthe)
recordsintheMetadata.
l
ARetrieve ItemstaskwhichretrievesanexistingrecordsetfromtheConnectdatabaseandout-
putsitintheMetadataorasJSONdata.
l
ACreate FiletaskthatcreatesaJSONfile.
l
Etc.
Whichtaskortasksfitbest,dependsonwherethedatacomefrom.
TheCreateEmailContenttaskcanbefoundontheOLConnecttabofthePlug-InBarinWorkflow.
ForadescriptionofallOLConnecttasks,see"OLConnecttasks"onpage169.
FilesusedinaConnectemailprocess
BeforecreatingtheEmailprocessintheWorkflowconfigurationtool,youwillneedtocreate:
l
AtemplatewithanEmailcontext.(See"Creatingatemplate"onpage415.)
l
Iftheemailshouldcontainvariabledata,youmightneedtomakeadatamappingconfiguration
(see"Creatinganewdatamappingconfiguration"onpage200).IftheinputisgoingtobeJSON
data,youcouldaddthemtothedesignusingaJSONfile(see"AddingJSONsampledata"on
page720).
TemplatesanddatamappingconfigurationsmustbesentfromtheDesignertoPlanetPressWorkflow
beforetheycanbeusedintheWorkflowprocess;see"SendingfilestoWorkflow"onpage418.
ThenextstepistocreateaprocessinPlanetPressWorkflowthatgeneratesEmailoutput,usingthese
files.
FormoreinformationabouthowtocreateaprocessinWorkflow,pleaserefertotheOnlineHelpof
Workflow.
Print processes with OL Connect tasks
Generatingprintoutputfromatemplateviaanautomatedprocessrequiresyoutodesignaprintpro-
cessinthePlanetPressWorkflowconfigurationtool.
Thistopicexplainswhichtasksandfilesareusedinaprintprocess.
Page 172