How to Create a List of Values Read and Written by a Pipeline

Each component in a pipeline reads values from the order form, performs its function, and then writes values to the order form. Components that run later in the pipeline frequently read values that previous components have written to the order form. When you are modifying a pipeline or creating a new one, it can be helpful to see a list of the values that each component reads and writes so that you can make sure that the required values are present at each point in the pipeline.

By using the Pipeline Editor, you can create a text file that lists each component of a pipeline in the order in which it is run. The text file lists all the components run by the pipeline, including the required components. The required component always runs last in a stage. For each component, the file lists the following information:

  • Input values (values read)

  • Output values (values written)

  • Context values (values read from the PipeContext Dictionary object, which is passed as a parameter to the Execute method of the pipeline object)

To create a list of all values read and written by a pipeline

  1. In the Pipeline Editor, on the File menu, click Open, and then select the pipeline that contains the read and written values you want to examine.

  2. On the File menu, click Save Values Read & Written.

  3. In the Save as dialog box, specify a location and a file name for the text file, and then click Save.

The Pipeline Editor saves the file and opens it in Notepad.

See Also

Other Resources

Extending Commerce Foundation

How to Add a Component to a Pipeline

Pipeline Editor Property Pages

Using the Pipeline Editor