Publishing Engine Programmer's Guide > PTC Arbortext Publishing > Content Pipelines > Developing and Configuring Content Pipelines > Switch Filters and Conditional Execution
  
Switch Filters and Conditional Execution
The switch filter allows you to define two or more paths through a content pipeline. For example, you might want two content pipelines that are identical except for the final filter that hands off the document. In one, the final filter might be the fileSerializer, which places the processed document on disk. In the other, the final filter might be the epicSerializer, which places the processed document in memory for use by Arbortext Editor. You could write two separate .ccf files, or you could use a switch filter to route the document to the appropriate serializer based on the value of a pipeline parameter.
The pdf.ccf contains two examples of using a switch filter. For more information, refer to the Arbortext-pathcomposer\switch.ent.