Skip to content

Flow execution stops at Condition node when multiple branches converge into single LLM node #5501

@Sohorev

Description

@Sohorev

Describe the bug

Flow execution stops at a Condition node without proceeding to any branch when multiple edges converge into a single LLM node. The flow terminates silently without error.

To Reproduce

  1. Import attached bug-flow.json into Flowise
  2. Start chat and send: hi

Expected behavior

Condition evaluates to false (not empty), takes output 1, executes to_operator

Actual behavior:

  • Flow execution stops at the Condition node (flow.stopReason is empty)
  • No branch is executed (neither output 0 nor output 1)
  • No error is thrown
  • Flow terminates silently
  • Flow state shows:
    {
      "nextAgent": "",
      "intsructions": "",
      "stopReason": "not_empty"
    }

Workaround

If you duplicate the to_operator LLM node and route different branches to separate (but identical) nodes, the bug disappears. This confirms the issue is related to multiple edges converging into a single node.

Screenshots

Image Image

Flow

bug-flow.json

Use Method

Docker

Flowise Version

3.0.10

Operating System

Linux

Browser

Firefox

Additional context

bug-flow.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions