2022.2

Table Of Contents
Tip: AneasywaytocreateaCOTGsolution,includingtheWorkflowconfigurationandotherfiles
thatitneeds,istousetheCOTG Timesheets Sample Project.See"SampleProject:COTG
Timesheets"onpage141.
Batching and commingling
AConnectPrintprocessinitssimplestformmergesdatawithatemplateandcreatestheprintjob(s)in
onego,asshownin"PrintprocesseswithOLConnecttasks"onpage172.
Inreality,however,acompanymightwanttocreatelettersandinvoicesduringtheweek,forexample,
andthenprintthemoutonlyovertheweekend.Forsuchascenario,itwouldbebettertoseparatethe
datamappingandcontentcreationprocessfromtheproductionoftheactualprintjob(s),andworkwith
printbatches.
Batchingmeansgatheringandthenprintingpreviouslycreatedprintcontentitems.
Comminglingreferstodocumentsoriginatingfromdifferenttemplatesbeingcombinedintooneprint
batch.
Thistopicexplainshowtobatch,commingle,and-nottheleastimportantly-sortandseparateitems
intoprintbatcheswithConnect.
TheWorkflowtasksmentionedherecanallbefoundontheOLConnecttabofthePlug-InBarinWork-
flow.Fordescriptionsofthetasks,see"OLConnecttasks"onpage169.
Batching
Batchingreferstocreatingprintjobsfromprintcontentitemsthatwerecreatedearlier.Abatchingprint
processissplitupin2phases:
l
Phase1:Contentiscreatedbymergingaprinttemplatewithdata.Newlycreatedprint content
itemsarealwaysautomaticallysavedintheConnectdatabase
1
.Informationaboutthesetof
items(the"contentset"),includingtheContentSetID,getsstoredinthedatabaseaswell.
l
Phase2:PrintcontentitemsareretrievedfromtheConnectdatabaseusingtheRetrieveItems
task.TheCreateJobandCreateOutputtaskstransformtheseitemsorsetsintooneormore
printjobs.
InordertoretrieveprintcontentfromtheConnectdatabaseinthesecondphase,somepreparatory
workmustbedoneinthefirstphase.Whatneedstobedoneexactlydependsonwhatyouwantto
retrieve,andhow.
Sortingandseparatingtheoutputalsorequiressomepreparation(see"Sortingandgroupingitemsin
printbatches"onpage179).
1
Databaseentriesgetcleanedupautomaticallyaswell.MakesurethattheCleanup Serviceiscon-
figuredappropriately,sothatitdoesn'tremoverelevantrecordsetsandcontentsetsbeforebatching
starts(see"Clean-upServicepreferences"onpage783).
Page 177