I thought I would have a little fun today. I have a workflow that I need to build that will search the repository to find all documents that have been brought into Laserfiche for the last 60 days. It will retrieve 15 metadata field values for each document. It will then write the document information and the metadata to a CSV file locally on the Workflow server.
Which workflow configuration do you think will be faster?
Option #1
- Search the repository
- Write header row of CSV file
- For Each Entry write detail line to CSV file
Option #2
- Search the repository
- Set the header row as a token value
- For Each Entry write detail to multivalue token
- Write full value (header+detail) to CSV file
Option #3
- Search the repository
- Set the header row as a token value
- For Each Entry write details to a single string token
- Write full value (header+detail) to CSV file
The sampling I will be using is around 6,000 documents.
Let me know which option you think will process faster and why. I will post my results after I'm done.