Skip to content

A very poor document. In the loop, setting a loop variable keeps prompting that the variable is undefined. Please select an existing variable! #886

Open

Description

@wuyoujushi

Page URL

https://docs.dify.ai/zh/self-host/use-dify/nodes/loop

Issue type

Missing documentation

Product

Dify Cloud

Dify version

No response

Page language

None

What's wrong

A very poor document.!

What it should say

No response

Checklist

  • I have searched existing issues, including closed ones.
  • I confirm that I am using English to submit this report. 【中文用户 & Non-English users】请使用英语提交,否则会被关闭。
  • If I open a PR for this, it will follow the contributing guidelines (all three languages in the same PR).

Activity

  1. added
    documentationImprovements or additions to documentation
    and removed
    documentationImprovements or additions to documentation
    on Jul 21, 2026
  2. RiskeyL commented on Jul 24, 2026

    @RiskeyL
    Contributor

    @wuyoujushi Thanks for the report, and sorry the page left you stuck. The page is already on our list for optimization, and loop variable configuration will be covered end to end there.

    One thing to separate out: "Invalid variable. Please select an existing variable." is a validation message from the workflow editor, not something the documentation controls. If the variable you pick does exist and the editor still rejects it, please open an issue at https://github.com/langgenius/dify/issues with a screenshot of the Loop node panel or your exported DSL, so the engineering team can reproduce it.

    Thanks again for taking the time to file this.

  3. changed the title [-]A very poor document. In the loop, setting a loop variable keeps prompting that the variable is undefined. Please select an existing variable![/-] [+]重写 Loop 节点文档,补齐循环变量配置说明[/+] on Jul 24, 2026
  4. added
    documentationImprovements or additions to documentation
    and removed
    documentationImprovements or additions to documentation
    on Jul 24, 2026
  5. changed the title [-]重写 Loop 节点文档,补齐循环变量配置说明[/-] [+]A very poor document. In the loop, setting a loop variable keeps prompting that the variable is undefined. Please select an existing variable![/+] on Jul 27, 2026
  6. added
    staleIssue has not had recent activity or appears to be solved. Stale issues will be automatically closed
    on Aug 7, 2026
  7. removed
    staleIssue has not had recent activity or appears to be solved. Stale issues will be automatically closed
    on Aug 10, 2026
  8. deleted a comment from dosubot on Aug 10, 2026
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

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions