Pipeline Demonstrating the Binary Router Snap
This pipeline demonstrates the Binary Router Snap.

Download this Pipeline
The first Snap reads a JSON document that contains three filenames. The JSON Splitter Snap turns it into three documents
and the filename is passed as a parameter to the
File Reader
Snap. That Snap reads the first file,
passes it to the
Binary Router
Snap where it is
evaluated, a new file is written and then the next file is read and the process is
repeated.


The evaluation in the Binary Router looks at the content-length and sends it to a
different output view depending on size based on the following criteria:
- $["content-length"] <= 10
- $["content-length"] >= 11 && $["content-length"] <= 1023
- $["content-length"] > 1024
- Download and import the pipeline into SnapLogic.
- Configure Snap accounts as applicable.
- Provide pipeline parameters as applicable.