2022.2

Table Of Contents
What to retrieve: content sets or content items
TheRetrieveItemstaskcanretrieveonlyonetypeofentityfromtheConnectdatabaseatatime:
records,recordsets,contentitemsandsoforth.SincetheCreateJobtaskcanonlyworkwithprintcon-
tent itemsorcontent sets,inabatchingprintprocessthechoiceisnarroweddowntothesetwopos-
sibilities.
Hereareafewthingstoconsider:
l
IfyouwanttheCreate JobtasktouseaJob Creation Preset,youmustretrievecontentsets.A
JobCreationPresetcanfilter,sort,andgroupprintcontentitems,addmetadataandmakefin-
ishingsettings(see"PrintPresets"onpage1321).
l
Fromaperformanceperspective,workingwithcontentsetsisbetter.Retrievingcontentsetsis
fasterthanretrievingcontentitemsandthuscanimproveperformance.Also,workingwithJob
CreationpresetsismoreefficientthanworkingwithindividualcontentitemsinWorkflow.
l
Ifyoudecidetoretrievecontentsets,youmaystillhavetodopreparatoryworkonthecontent
itemleveltoenableaJobCreationpresettosorttheoutput(see"Sortingandgroupingitemsin
printbatches"onthenextpage).
How to retrieve: selection methods
TheRetrieveItemstaskcanretrieveitems/setsbyIDorbaseduponconditions.
Retrieving items/sets by ID
NewprintcontentitemsareautomaticallysavedintheConnectdatabasewhentheCreate Content
taskcreatesthem.ThetaskreturnstheIDsofthoseitems,aswellastheIDofthecontentset,tothe
WorkflowprocessviaMetadata(seeAboutMetadata).
Inordertoretrieve(setsof)itemsbyIDlateron,youwillhavetogettheIDsfromtheMetadataand
storethemsomewhereelse.Workflow'sDataRepositorywouldbeagoodplacetostorethemin;you
canusethePushtoRepositorytasktostoretheIDsthere.
Retrieving items or sets using conditions
WhentheRetrieve Itemstaskretrievesitemsorsetsbaseduponconditions,therespectivedatabase
entitiesarematchedagainstthevaluesofdatafieldsorbythevaluesofpropertiessetonentitiesin
theConnectdatabase.
l
Values:Printcontentitemsandsetsdon'tcontaindatafields,buttheydohavealinktothedata
recordwithwhichtheywerecreated,soselectingandsortingthembyvalueisstillapossibility.
l
Propertiesarekey/valuepairsthatcanbesetonentitiesintheConnectdatabase.Thereare
twowaystodothat:
Page 178