2022.2

Table Of Contents
Tip: AneasywaytosetupaprintprojectinOLConnect,includingtheprintprocessandthefiles
thatitneeds,istouseaSample Project.TherearetwoSampleProjectsthatcreateasample
printproject.See"SampleProjects"onpage918.
ThereisalsoaWalkthrough samplethathelpsyoubuildaPrintprocessforConnectdoc-
umentsintheWorkflowConfigurationtoolbyyourself,step-by-step:CreatingaPrintprocessin
Workflow.
Thestructureofaprintprocess
Initssimplestform,suchaprocessmayconsistofonlytwoplugins:anInputtaskandtheAll In One
plugin.
TheAll In OnetaskcombinesthefollowingfourOL Connecttasks:
l
TheExecute Data Mappingtask,ortheRetrieve Itemstask.
TheExecuteDataMappingtaskextractsdatafromthejobdatafileandputstheminarecordset.
Thistaskworksaccordingtotheinstructionsinadatamappingconfiguration,madewiththe
DataMapper(see"Datamappingconfigurations"onpage199).
TheRetrieveItemstaskcanbeusedtoretrieverecordsfromtheOLConnectdatabase.
l
TheCreate Print Contenttask.Thistaskmergesdatawithatemplate,resultinginPrintContent
Items.TemplatesaremadewiththeDesigner(see"Templates"onpage414).
l
TheCreate Jobtask.ThistaskturnsasetofPrintContentItemsintoaprintjob.Anysettingsare
passedontoWorkflowviaaJobCreationPreset.
l
TheCreate Outputtask.Thistaskcreatestheactualoutputfile(s).Anysettingsarepassedonto
WorkflowviaanOutputCreationPreset.
TheAllInOnetaskisthefastestandmostefficientwaytocreateprintoutput.Thetaskexchangesless
datawiththeserverthantheseparatepluginsdoandithasmulti-threadingsupport:itcanproducethe
datasetandcontentitemsinparallel.
Nevertheless,theseparatepluginswouldbeusedinthefollowingsituations:
l
Therecordset,createdbytheExecuteDataMappingtask,isalsoneededtocreateanotherkind
ofoutputinthesameprocess.
l
TheinputisJSONdata,whichcanbeuseddirectly.Inthiscasethereisnoneedtousethe
ExecuteDataMappingtaskorRetrieveItemstask.
l
Iftheinputdataispaginated(e.g.aPDF)anddoesn'tneedtobemergedwithatemplate,the
ExecuteDataMappingtaskcancreatePrintContentItemsaswell.Thismakesitpossibletoomit
theCreatePrintContenttask.
Page 173