ComfyUI > Nodes > ComfyUI-CRZnodes > CRZ Execute Block

ComfyUI Node: CRZ Execute Block

Class Name

CRZExecuteBlock

Category
CRZ
Author
CoreyCorza (Account age: 2722days)
Extension
ComfyUI-CRZnodes
Latest Updated
2025-09-09
Github Stars
0.04K

How to Install ComfyUI-CRZnodes

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

CRZ Execute Block Description

Control flow in node system, pass/block input based on condition, manage workflow execution path efficiently.

CRZ Execute Block:

The CRZExecuteBlock node is designed to control the flow of execution within a node-based system, providing a mechanism to either pass an input through or block its execution based on a boolean condition. This node is particularly useful in scenarios where conditional logic is required to manage the execution path of a workflow. By leveraging the ExecutionBlocker, the node can effectively halt the execution when the specified condition is not met, ensuring that only the desired operations are carried out. This functionality is essential for creating dynamic and flexible workflows, allowing you to implement complex logic without the need for extensive coding. The primary goal of the CRZExecuteBlock is to offer a straightforward yet powerful tool for managing execution flow, enhancing the overall efficiency and effectiveness of your node-based projects.

CRZ Execute Block Input Parameters:

input

The input parameter is a versatile input that can accept any type of data. It serves as the primary data that will be processed or passed through by the node. The function of this parameter is to provide the data that will be conditionally executed based on the boolean condition. There are no specific minimum or maximum values for this parameter, as it is designed to handle any type of input. The default value is None, indicating that no input is provided initially.

bool

The bool parameter is a boolean input that determines whether the execution should proceed or be blocked. When set to True, the node allows the input to pass through, effectively executing the subsequent operations. Conversely, when set to False, the node blocks the execution, preventing any further processing of the input. This parameter is crucial for implementing conditional logic within your workflow. The default value is False, meaning that execution is blocked unless explicitly allowed.

CRZ Execute Block Output Parameters:

output

The output parameter represents the result of the node's execution. If the bool parameter is True, the output will be the same as the input, indicating that the input has been successfully passed through. If the bool parameter is False, the output will be an instance of ExecutionBlocker, signifying that the execution has been blocked. This output is essential for understanding the flow of execution and determining whether the input was processed or halted.

CRZ Execute Block Usage Tips:

  • Use the CRZExecuteBlock node to implement conditional logic in your workflows, allowing you to control the execution path based on specific conditions.
  • Combine this node with other nodes that require conditional execution to create more dynamic and responsive workflows, enhancing the overall functionality of your projects.

CRZ Execute Block Common Errors and Solutions:

ImportError: No module named 'comfy_execution.graph'

  • Explanation: This error occurs when the ExecutionBlocker module is not available or cannot be imported.
  • Solution: Ensure that the comfy_execution package is correctly installed and accessible in your environment. If the package is missing, install it or check your environment settings.

Execution Blocked: <message>

  • Explanation: This message indicates that the execution has been blocked due to the bool parameter being set to False.
  • Solution: Verify the logic of your workflow to ensure that the bool parameter is set correctly based on your desired execution path. Adjust the condition to allow execution if needed.

CRZ Execute Block Related Nodes

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