Skip to content

[BUG] Multiple conditional branches return one output #1176

Description

@matKlju

Bug description:

A service containing multiple conditional branches connected to different Next Service nodes returns the output of one Next Service branch instead of the branch that was executed.

  1. Create a service with multiple Conditional nodes.
  2. Connect each condition to a different Next Service node.
  3. Configure each Next Service node to open a different service.
  4. Save and trigger the service using an input that matches one of the earlier conditional branches.

The generated DSL uses one shared return block, but it references only one Next Service result variable. In the supplied DSL, return_next_service_res always returns ${järgmine_teenus_3_result.response ?? ''}, including after järgmine_teenus_1 or järgmine_teenus_2 has executed.

Image

Expected behavior:

Each conditional branch must return the response from the Next Service node that was executed for that branch.

Services to test with:

arvutihiire_probleem_2026_09_10_14_53_37.json
ekraani_probleem_2026_09_10_14_53_37.json
klaviatuuri_probleem_2026_09_10_14_53_37.json
seadme_probleem_2026_09_10_14_53_37.json

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingv3.3.3Release v3.3.3

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions