ComfyUI > Nodes > ComfyUI-RvTools_v2 > Pipe-Line Switch

ComfyUI Node: Pipe-Line Switch

Class Name

Pipe-Line Switch [RvTools]

Category
🫦 RvTools II/ Switches
Author
r-vage (Account age: 317days)
Extension
ComfyUI-RvTools_v2
Latest Updated
2026-03-27
Github Stars
0.02K

How to Install ComfyUI-RvTools_v2

Install this extension via the ComfyUI Manager by searching for ComfyUI-RvTools_v2
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-RvTools_v2 in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Pipe-Line Switch Description

Facilitates dynamic selection between two pipeline paths for conditional data routing.

Pipe-Line Switch [RvTools]:

The Pipe-Line Switch [RvTools] node is designed to facilitate the dynamic selection between two distinct pipeline paths within a workflow. This node is particularly useful when you need to conditionally route data or processes based on specific criteria, allowing for greater flexibility and control in your pipeline configurations. By providing a simple mechanism to switch between two inputs, it enables you to streamline complex workflows and make them more adaptable to varying conditions or requirements. This node is essential for scenarios where decision-making is required to determine the flow of data, ensuring that the appropriate pipeline is utilized based on the input conditions.

Pipe-Line Switch [RvTools] Input Parameters:

Input

The Input parameter is an integer that determines which pipeline path will be selected. It accepts values of either 1 or 2, with a default value of 1. When set to 1, the node will route the data through the first pipeline (input1), and when set to 2, it will route the data through the second pipeline (input2). This parameter is crucial for controlling the flow of data and ensuring that the correct pipeline is activated based on your specific needs.

input1

The input1 parameter represents the first pipeline option that can be selected by the node. It is of type PIPE_LINE and is required to be provided when the Input parameter is set to 1. This parameter allows you to define the first path that the data can take, making it an integral part of the node's functionality when the first option is chosen.

input2

The input2 parameter represents the second pipeline option available for selection. Similar to input1, it is of type PIPE_LINE and must be provided when the Input parameter is set to 2. This parameter defines the alternative path for the data, enabling the node to switch to this pipeline when the second option is selected.

Pipe-Line Switch [RvTools] Output Parameters:

PIPE_LINE

The PIPE_LINE output parameter is the result of the node's execution, representing the selected pipeline path based on the Input parameter. This output is crucial as it determines the subsequent flow of data in your workflow, ensuring that the correct pipeline is utilized according to the specified conditions. The output provides a seamless transition between different pipeline paths, maintaining the integrity and efficiency of your workflow.

Pipe-Line Switch [RvTools] Usage Tips:

  • Use the Input parameter to dynamically control the flow of your pipeline based on external conditions or decision-making logic.
  • Ensure that both input1 and input2 are properly configured and connected to valid pipeline paths to avoid disruptions in your workflow.
  • Consider using this node in scenarios where conditional logic is required to determine the appropriate processing path, enhancing the adaptability of your workflow.

Pipe-Line Switch [RvTools] Common Errors and Solutions:

Missing Input: Multi Pipe Switch has no active Input

  • Explanation: This error occurs when neither input1 nor input2 is provided, or when the Input parameter is set to a value that does not correspond to a valid input.
  • Solution: Ensure that both input1 and input2 are connected to valid pipeline paths and that the Input parameter is set to either 1 or 2, corresponding to the desired pipeline path.

Pipe-Line Switch Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-RvTools_v2
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Pipe-Line Switch