ComfyUI > Nodes > TrentNodes > This, That, or The Other

ComfyUI Node: This, That, or The Other

Class Name

ThisThatOrTheOther

Category
Trent/Flow
Author
TrentHunter82 (Account age: 0days)
Extension
TrentNodes
Latest Updated
2026-03-20
Github Stars
0.03K

How to Install TrentNodes

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

This, That, or The Other Description

The `ThisThatOrTheOther` node manages data streams with conditional gating in ComfyUI.

This, That, or The Other:

The ThisThatOrTheOther node is a versatile component designed for use within the ComfyUI framework, providing a unique parallel gating mechanism. This node is particularly useful when you need to manage multiple data streams independently, as it offers three separate input/output channels. Each channel operates autonomously, allowing data to pass through only if it meets a specified condition of truthiness. This means that if an input is considered "truthy," it will be allowed to proceed to the corresponding output; otherwise, it will be blocked, preventing further execution downstream. This functionality is crucial for scenarios where conditional data flow is required, enabling more complex and dynamic workflows within your AI art projects. By leveraging this node, you can efficiently control the flow of data based on specific conditions, enhancing the flexibility and robustness of your creative processes.

This, That, or The Other Input Parameters:

this

The this parameter represents one of the three independent input channels of the node. It accepts any data type and is evaluated for truthiness. If the input is considered truthy, it will be passed to the corresponding output; otherwise, it will be blocked. This parameter allows you to control the flow of data based on specific conditions, ensuring that only valid or desired inputs are processed further.

that

Similar to the this parameter, the that parameter is another independent input channel. It functions in the same manner, where the input is evaluated for truthiness. If the input is truthy, it will proceed to the output; if not, it will be blocked. This parameter provides an additional layer of control, enabling you to manage multiple data streams simultaneously and independently.

the_other

The the_other parameter is the third independent input channel, operating in the same way as the this and that parameters. It evaluates the input for truthiness and allows it to pass to the output if truthy, otherwise blocking it. This parameter completes the trio of channels, offering comprehensive control over data flow and ensuring that each input is handled according to its truthiness.

This, That, or The Other Output Parameters:

this_out

The this_out parameter is the output corresponding to the this input channel. It will either contain the original input value if it was truthy or an ExecutionBlocker if the input was falsy. This output allows you to track the result of the gating process for the this channel, providing insight into whether the input was allowed to proceed.

that_out

The that_out parameter corresponds to the that input channel. It functions similarly to this_out, containing the original input value if truthy or an ExecutionBlocker if falsy. This output helps you understand the outcome of the gating process for the that channel, indicating whether the input was processed or blocked.

the_other_out

The the_other_out parameter is the output for the the_other input channel. Like the other outputs, it will contain the input value if it was truthy or an ExecutionBlocker if falsy. This output provides feedback on the gating process for the the_other channel, showing whether the input was allowed to pass through or not.

This, That, or The Other Usage Tips:

  • Use the ThisThatOrTheOther node when you need to manage multiple data streams independently, allowing for conditional data flow based on truthiness.
  • Ensure that the inputs you provide to each channel are correctly evaluated for truthiness to achieve the desired gating behavior.
  • Consider using this node in complex workflows where conditional execution paths are necessary, as it provides a flexible mechanism for controlling data flow.

This, That, or The Other Common Errors and Solutions:

Input not evaluated

  • Explanation: This error occurs when one or more inputs have not been evaluated, leading to incomplete data processing.
  • Solution: Ensure that all inputs (this, that, the_other) are provided and evaluated before execution. Use the check_lazy_status method to identify which inputs need evaluation.

ExecutionBlocker encountered

  • Explanation: An ExecutionBlocker is returned when an input is falsy, preventing further execution downstream.
  • Solution: Verify the truthiness of your inputs. Adjust the input values or conditions to ensure they meet the truthiness criteria required for processing.

This, That, or The Other Related Nodes

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

This, That, or The Other