You can use an SDK Script activity within Workflow to push files back out to a network folder. I do that with several of my processes.
For example
// Get document
DocumentInfo doc = (DocumentInfo)this.BoundEntryIfo;
// Initialize Document Exporter
DocumentExporter dExp = new DocumentExporter();
// Export electronic document
dExp.ExportElecDoc(doc,filePath);
// Cleanup document object
doc.Dispose();
This example exports electronic documents.
If the files are in TIFF format (native LF document with pages), you might use a different export method to export as PDF, in which case you'd also want define additional settings to specify,compression if you want to flatten annotations and such.
// Configure document exporter settings
dExp.CompressionQuality = compression; // 0 to 100
dExp.IncludeAnnotations = true;
dExp.BlackoutRedactions = true;
dExp.PageFormat = DocumentPageFormat.Jpeg;
dExp.Watermarks = watermarks;
// Set PDF export options to flatten annotations and include searchable text
PdfExportOptions ExportOptions = PdfExportOptions.RenderAnnotationsAsImage | PdfExportOptions.IncludeText;
// Export PDF
dExp.ExportPdf(doc, doc.AllPages, ExportOptions,filePath);
If you could have either type, then you would just add an if else that checks whether or not it has an electronic document.
if(doc.IsElectronicDocument){
// export electronic document
}
else{
// export PDF
}
You can also export as TIFF, but that seems to be less common.