Skip to content

[🐛 Bug]: workflow ui builder allow impossible conditions and incorrect foreach #3639

Closed

Description

@Kiryous

Describe the bug
workflow ui builder allow to nest conditions
Image

workflow ui builder allow to add multiple steps to the foreach, but converts only first one to yaml
Image

Activity

  1. dosubot commented on Feb 24, 2025

    @dosubot

    The issues you're encountering with the workflow UI builder are known limitations:

    1. Nesting Conditions: The UI builder currently allows nesting conditions, but specific conditions and limitations for nesting are not well-documented. This might lead to configurations that are not supported or expected in the YAML output.

    2. Foreach Loop Conversion: The problem with the 'Foreach' loop converting only the first step to YAML is due to how the generateForeach function is implemented. It defaults to including only a single step if the sequence is not explicitly provided with all intended steps. To ensure all steps are converted, the sequence should be explicitly populated with all steps that need to be included in the 'Foreach' loop [1].

    These issues highlight areas where the UI builder's functionality might not align perfectly with user expectations, and adjustments in the workflow configuration or the builder's implementation might be necessary.

    To continue talking to Dosu, mention @dosu.


    Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

  2. added
    Bug
    UI
    on Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugUI

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions