π¦ Execution Gate
A Valve That Stops a Whole Branch, Not a Whole Workflow
- input
- output
You can bypass a node in ComfyUI with a click, but bypassing a conditionally, from data, mid-run - that needs a gate. π¦ Execution Gate is exactly that: a boolean valve sitting on a wire. Open, and the data passes through untouched. Blocked, and everything downstream stops - cleanly, without an error flood.
How it works. Two inputs: input (typed *, accepts anything) and continue - a BOOLEAN that renders as a friendly Open β
/ Blocked π« toggle. When continue is true, the gate returns your input unchanged as output. When it's false, the gate returns an ExecutionBlocker. That's the key difference from a plain switch: a blocker tells ComfyUI's engine to stop executing the downstream graph for this branch, instead of handing it a value that makes the next node throw. The rest of your workflow keeps running; only the gated branch goes dark.
Where it fits. The pack's own README points at the obvious pairing: feed the boolean output of the π Boolean Switch into continue, and you've got a UI toggle that mutes or enables a whole section of pipeline. Combine it with the bus family and you can gate a branch on a condition computed elsewhere - say a Dynamic Road index or a value out of PyCode Max. It's the plumbing-layer pattern of "null-output placeholder" done with the engine's own stop mechanism instead of a hacky empty value.
Where people get burned: the blocker stops the branch, which also means anything that branch feeds is skipped. If you gated a node that other, unrelated nodes depend on, you'll see those go dark too - the gate is not a "this node only" switch, it's a "everything downstream" switch. Also, output is *, so the type you get out is whatever you put in - but only when the gate is open. A blocked gate produces no usable value at all, and that's by design, not a bug.
Install. ComfyUI Manager β search "Orion4D_MetaNode", or:
cd ComfyUI/custom_nodes
git clone https://github.com/orion4d/Orion4D_MetaNode
Restart ComfyUI; category Orion4D_MetaNode/Routing. No extra dependencies.
Small, boring, and quietly the right tool for "run this experiment but don't tear down the whole graph every time I flip it off."
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| input | * | β | |
| continue | BOOLEAN | true | β |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| output | * | β |