Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > comfyui-obvpm > First Int (else fallback) (obvpm)

ComfyUI Node: First Int (else fallback) (obvpm)

Class Name

FirstInt (obvpm)

Category
obvpm/values
Author
chanon (Account age: 5883days)
Extension
comfyui-obvpm
Latest Updated
2026-09-17
Github Stars
0.04K

How to Install comfyui-obvpm

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

First Int (else fallback) (obvpm) Description

Streamlines integer selection from multiple inputs, ensuring valid output with fallback option for robust workflows.

FirstInt (obvpm):

The FirstInt node is designed to streamline the process of selecting an integer value from multiple potential inputs, ensuring that you always receive a valid integer output. This node is particularly useful in scenarios where you have several optional paths that might provide an integer value, but you want to ensure that only the first available value is used. If none of the inputs provide a value, the node will default to a specified fallback integer. This functionality is crucial for creating robust and flexible workflows, as it allows you to manage multiple input sources and ensure a consistent output without manual intervention. By automatically bypassing any inputs that are not connected or are in a bypass mode, the FirstInt node simplifies the decision-making process and guarantees a reliable integer output.

FirstInt (obvpm) Input Parameters:

fallback

The fallback parameter serves as the default integer value that the node will output if none of the connected inputs provide a valid integer. This ensures that the node always produces an output, even in the absence of valid input values. The default value for this parameter is 0, with a minimum value of -2^53 and a maximum value of 2^53. This wide range allows for flexibility in handling various integer values, making it suitable for a broad range of applications.

int1

The int1 parameter is the first optional input that can provide an integer value. If this input is connected and carries a valid integer, it will be selected as the output. This parameter is crucial for prioritizing inputs, as it is the first candidate checked for a value. The parameter is designed to force input, meaning it actively checks for a connected value and skips if the input is bypassed (None).

int2

The int2 parameter functions similarly to int1, serving as the second optional input for an integer value. If int1 is not connected or does not provide a value, the node will check int2 next. This parameter also forces input and will be skipped if it is bypassed, ensuring that only valid, connected inputs are considered.

int3

The int3 parameter is the third optional input for an integer value. It is checked only if both int1 and int2 do not provide valid values. Like the other optional inputs, int3 forces input and is bypassed if not connected, maintaining the node's efficiency in selecting the first available integer value.

FirstInt (obvpm) Output Parameters:

int

The int output parameter represents the integer value selected by the node. This output is either the first valid integer from the connected inputs or the fallback value if no inputs provide a valid integer. The output ensures that you always receive a consistent and reliable integer value, which is essential for maintaining the integrity of your workflow.

FirstInt (obvpm) Usage Tips:

  • Ensure that your most critical integer input is connected to int1 to prioritize its selection.
  • Use the fallback parameter to define a sensible default value that aligns with your workflow's requirements, ensuring continuity even when no inputs are available.
  • Regularly check the connections to int1, int2, and int3 to ensure they are not in bypass mode unless intentionally left unconnected.

FirstInt (obvpm) Common Errors and Solutions:

No valid input value

  • Explanation: This error occurs when none of the connected inputs provide a valid integer value, and the node defaults to the fallback value.
  • Solution: Verify that at least one of the inputs (int1, int2, or int3) is connected and providing a valid integer. If intentional, ensure the fallback value is correctly set to handle this scenario.

Input value out of range

  • Explanation: This error arises when an input value exceeds the specified range of -2^53 to 2^53.
  • Solution: Adjust the input values to ensure they fall within the acceptable range. If necessary, modify the source of the input values to prevent out-of-range errors.

First Int (else fallback) (obvpm) Related Nodes

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

First Int (else fallback) (obvpm)