Nodes Browser
ComfyDeploy: How ComfyUI-ConditionalInterrupt works in ComfyUI?
What is ComfyUI-ConditionalInterrupt?
A node for ComfyUI that terminates the workflow processing if 'proceed' is set to False. More convenient than manually bypassing a bunch of nodes. This is a restructured version of the 'SRL Conditional Interrupt' node from the [a/srl-nodes](https://github.com/seanlynch/srl-nodes) pack.
How to install it in ComfyDeploy?
Head over to the machine page
- Click on the "Create a new machine" button
- Select the
Edit
build steps - Add a new step -> Custom Node
- Search for
ComfyUI-ConditionalInterrupt
and select it - Close the build step dialig and then click on the "Save" button to rebuild the machine
ComfyUI-ConditionalInterrupt
A node for ComfyUI that terminates the workflow processing if proceed
is set to False. More convenient than manually bypassing a bunch of nodes.
This is a restructured version of the SRL Conditional Interrupt
node from the srl-nodes pack. Thank you to @seanlynch for his original work.
My take on this function has the following differences:
- It does not require an additional input node for the termination conditional; you can simply toggle
proceed
in the UI, saving space in your workflow - The conditional logic is flipped; True means proceed, False means terminate
- Additional
delay_helper
input for control over processing order - The srl-nodes pack contains a different node that allows execution of arbitrary code--a potential security risk--whereas this repo is not bundled with any other nodes
Inputs
input
: Passthrough any data for processingproceed
: Determines whether to terminate the workflowdelay_helper
(optional, experimental): Additional input of any type that might help with postponing the execution of Conditional Interrupt if you find it's activating too early