ComfyUI > Nodes > Basic data handling > flow select

ComfyUI Node: flow select

Class Name

Basic data handling: FlowSelect

Category
Basic/flow control
Author
StableLlama (Account age: 861days)
Extension
Basic data handling
Latest Updated
2026-05-07
Github Stars
0.04K

How to Install Basic data handling

Install this extension via the ComfyUI Manager by searching for Basic data handling
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Basic data handling 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

flow select Description

FlowSelect directs data based on a boolean condition to "true" or "false" outputs, aiding workflow control.

flow select:

The FlowSelect node is designed to manage the direction of data flow within a workflow by evaluating a boolean condition. It takes an input value and, based on the boolean condition provided, directs this value to one of two possible outputs: "true" or "false". This node is particularly useful in scenarios where you need to conditionally route data or control the execution path based on dynamic conditions. By providing a straightforward mechanism to bifurcate the flow, it enhances the flexibility and control within your data processing pipeline. While it serves as a basic flow control mechanism, for more dynamic switching needs, you might consider using a "filter select" node instead.

flow select Input Parameters:

value

The value parameter is the data that you want to route through the node. It can be of any type, allowing for flexibility in the kind of data you are working with. This parameter does not have a default value, as it is required for the node to function. The impact of this parameter is that it determines what data will be passed to either the "true" or "false" output based on the select condition.

select

The select parameter is a boolean that determines the routing of the value. If select is set to True, the value is directed to the "true" output; if False, it is directed to the "false" output. The default value for select is True, meaning that unless specified otherwise, the value will be routed to the "true" output. This parameter is crucial as it controls the decision-making process within the node, effectively acting as a switch to direct the flow of data.

flow select Output Parameters:

true

The true output is where the value is directed if the select parameter is True. This output will contain the original value when the condition is met, allowing you to continue processing this data along the "true" path of your workflow. If select is False, this output will contain an ExecutionBlocker, indicating that the flow is not active in this path.

false

The false output is where the value is directed if the select parameter is False. This output will contain the original value when the condition is not met, allowing you to handle the data differently along the "false" path of your workflow. If select is True, this output will contain an ExecutionBlocker, indicating that the flow is not active in this path.

flow select Usage Tips:

  • Use the FlowSelect node to simplify decision-making processes in your workflow by routing data based on boolean conditions.
  • Consider using this node in conjunction with other flow control nodes to create complex conditional logic within your data processing pipeline.

flow select Common Errors and Solutions:

ValueError: Invalid input type for select

  • Explanation: This error occurs when the select parameter is not provided as a boolean value.
  • Solution: Ensure that the select parameter is explicitly set to either True or False.

ExecutionBlocker encountered in output

  • Explanation: An ExecutionBlocker in the output indicates that the flow was not active for that particular path.
  • Solution: Verify the logic of your select parameter to ensure it aligns with your intended data flow. Adjust the condition if necessary to activate the desired path.

flow select Related Nodes

Go back to the extension to check out more related nodes.
Basic data handling
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.

flow select