2022.2

Table Of Contents
thissolutionisneitherportablenorcompletelycentralizedsinceitreliesonthecharacteristicsofthe
specificsystemonwhichitisimplemented.
TheConnectServerhasitsownFileStorewhichitusesfortransientfiles.ThisFileStoreismanaged
bytheCleanupservicewhotakescareofremovingobsoletefileswhenthosefilesarenotmarkedas
permanent.Thisgreatlyreducestheamountofadministrationrequiredtomanagethefiles.Wefigured
thatsincethereisalreadyaFileStoreandRESTAPIcallstoconnecttoit,whynotturnthatintoan
accessiblefeatureforcustomerimplementations?
WithConnect1.8,theWorkflow8.8toolimplementsthreenewtasksthatallowyoutoUpload,Down-
loadandDeletefilesintheConnectFileStore.
Filescanbemarkedaspermanent,inwhichcasetheCleanupservicewon’ttouchthem.Thefilescan
stillbeaccessedthroughtheRESTAPI,whichmeanswebportalscouldpotentiallyaccessthefilesdir-
ectlywithouthavingtogothroughaWorkflowprocess.Thefeatureisthereforecentralizedandport-
ableasitdoesnotrelyonanyspecificlocationorfolder.(SHARED-57617)
Generating all contents using JSON instead of data records
Anumberofcustomerworkflowsinvolvegeneratingnewversionsofdocumentsbasedontheoriginal
onecreatedbyConnect.Forinstance,aDeliveryNotemightcomebackwithadjustedquantitiesoncer-
tainlineitems.Oraweb-basedstatuspagemightneedtogetupdatedwithadditionaldata.Howeverin
manycases,theoriginaldatamuststillbeleftuntouched(forreprints,forinstance).
Thetraditionalapproachtorecreatingthedocumentwouldbetogenerateanewsingledatarecordwith
thenewdataandperformtheusualdatamapping/contentcreation/outputcreationoperations.
However,thatmeansthedatarecordsareduplicatedinthedatabaseandtheentireoperationtakes
slightlylongerthanitcould.
AsofConnectWorkflow8.8allConnect Create ContenttaskshavetheoptionofusingaJSONstring
astheirdatasourceinsteadofrelyingonthemetadatageneratedfromadatamappingoperation.
ThisfeaturebuildsonthesamekindofimprovementthatwasimplementedinConnectWorkflow8.7
withtheCreate PDF PreviewtaskthatprovidedlightningfastPDFCreation.Thenewfeaturemakesit
mucheasiertocreateWeborEmailstatuspagesthataredeliveredalmostinstantly.(SHARED-
51086/55414)
Converting XML to JSON and JSON to XML
XMLisalreadyoneofthemostpopulardataformatsusedwithConnect.Inmanyimplementations,
mostnotablyweb-basedones,XMLisusedtotransferorupdateinformationbackandforthbetween
ConnectandWorkflow.However,usingXMLmeanstheDataMappermustbeinvolvedeachtimethe
datachanges,whichimpactsperformance,especiallywhenallyouwantistoupdateaStatusweb
Page 1497