In this article

Overview

Cache Pipelines enable you to run pipelines that refer to information from a main pipeline.

Prerequisites

If a document contains any value that is an array or object, it fails to process, which causes the pipeline to fail. If a cache pipeline fails to run, it will result in the preparation of the main pipeline failing (because it specifies the cache pipelines).

Workflow

  1. Create a pipeline or use an existing pipeline that contains data that you want to cache for reference in the main pipeline.

  2. Set the pipeline path to the pipeline created and specify an alias for the cached data.

  3. Create a main pipeline.

  4. Add a mapper that retrieves data from the cache specified in Step 3.

  5. Run the main pipeline.

Build Cache Pipelines

  1. Open Designer and create a new pipeline. This pipeline generates data that has to be referenced in the main pipeline.

  2. Use Snaps to move data to the cache. Ensure the following:

  3. Click (blue star) to validate the pipeline.

  4. Click (blue star) to open the Data Preview to verify the data that is stored in the cache.

Design the Main Pipeline

Main pipelines reference the data in the cache pipeline. You can reference multiple main pipelines.

  1. Click your user name on the top right corner of the Designer tab.

  2. In the dropdown list, click User Settings.

  3. In the Settings dialog, set the Preview Document Count. You can one of the options (1, 2, 10. 50,100, 500, 1000, 11500, 2000) from the dropdown. This value sets the limit for records allowed in the expression language lookup during validation.

  4. Click Save.

  5. Create or import a pipeline onto the Designer canvas.

  6. Click (blue star) to open the Edit Pipeline dialog.

  7. Fill in the required details in the Edit Pipeline dialog.

  8. In Cache Pipelines properties, click (blue star) to enter the value in the Alias and the Pipeline properties to run for the data stored in that alias. These values run for the data stored in that alias, serving as the first argument in the /wiki/spaces/DRWIP/pages/2977497147 as a reference.

  9. Click Save.