Retrieve From Cache step
Retrieve From Cache step
The Retrieve From Cache step is used to pull documents from a document cache and make them available for use in the current process or subprocess. It points to a Document Cache component, which defines how the cache is set up and managed.
1. Drag the Retrieve From Cache step onto the process canvas.
The Retrieve From Cache step dialog opens.
2. Select or create a Document Cache component from which the documents will be retrieved.
3. Indicate which documents should be retrieved from the specified document cache
Indicate which documents should be retrieved from the specified document cache:
Recommended by LinkedIn
If you retrieve documents by index name, specify a parameter value for each key within the selected index.
All Documents — Retrieves all documents from the document cache.
· Retrieving all documents from the document cache is available only if the Enforce one index entry per document option is in effect for the specified Document Cache component. If that option is not in effect, documents can be retrieved only by index name.
· When retrieving All Documents, Empty Cache Behavior option allows you to define how the Retrieve From Cache step behaves in the event it receives an empty document cache:
· Stop document execution (recommended) (Default) - Ends document processing without returning errors in Test Mode, Process Reporting, event logs, etc. This option is recommended because an empty document cache is typically not considered a process failure. The 'Fail documents with errors' option is offered for backward compatibility.
· Fail document with errors - Fails the document and returns an error in Test Mode, Process Reporting, event logs, etc.
· When retrieving documents by index name, the keys within the selected index are displayed. Each key corresponds to an element in the source profile. Documents that contain these elements and that have parameter values will be retrieved from the document cache.