Nodes/ComfyUI-Xz3r0-Nodes/XPipeRecursive
ComfyUI Node

XPipeRecursive

Scan an XPipe bundle in the slot order you define and return the first value found. Write the order as slot numbers separated by '-' (e.g. 1-3-5 or 50-1-2); the first non-empty slot wins.

By Xz3r0-M·Created 7 months ago·Updated about 10 hours ago· 12
XPipeRecursive
  • xpipe_in
  • recursive_output
empty_string_as_nonefalse
recursive_order1-2-3-4-5-6-7-8-9-10-11-12-13-14-15-16-17-18-19-20-21-22-23-24-25-26-27-28-29-30-31-32-33-34-35-36-37-38-39-40-41-42-43-44-45-46-47-48-49-50
Category♾️ Xz3r0/Workflow-Processing

Inputs (3)

NameTypeDefaultDescription
xpipe_inxpipeThe XPipe bundle to search through, following your recursive_order (slots 1-50)
empty_string_as_noneBOOLEANfalseTreat an exact empty string as None and continue scanning
recursive_orderSTRING1-2-3-4-5-6-7-8-9-10-11-12-13-14-15-16-17-18-19-20-21-22-23-24-25-26-27-28-29-30-31-32-33-34-35-36-37-38-39-40-41-42-43-44-45-46-47-48-49-50Slot order to scan, numbers separated by '-' (example: 1-3-5 or 50-1-2). Only slots 1-50 allowed; no duplicates.

Outputs (1)

NameTypeDescription
recursive_output*The first non-empty value found while scanning in your specified order.