Skip to content

[BUG] Conditional Success/Failure Branch Reversed #1075

@matKlju

Description

@matKlju

Bug description:

Conditional node Success/Failure paths are mapped incorrectly when generating YAML.

The visual flow shows:

  • Success → "Perioodi väline"
  • Failure → "Perioodi sisene"

However, the generated YAML executes:

  • Condition = true → "Perioodi sisene"
  • Condition = false → "Perioodi väline"

As a result, the UI representation does not match the actual execution logic.

Expected behavior:

Success path in the UI must correspond to the branch executed when the condition evaluates to true.
Failure path in the UI must correspond to the branch executed when the condition evaluates to false.

The visual flow and generated YAML must produce identical behavior.

Screenshots:
UI/ Service-Module canvas:
Image

DSL:

Image

Complicit service:

conditional_test_2026_06_15_15_20_22.json

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingv3.3

Type

No fields configured for Bug.

Projects

Status
In Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions