I need a changeable Global Variable To Control Workflow, like variable "stage", after certain work, change the global variable "stage" from 0 to 1 and route to different path of workflow. #4494

Closed
opened 2026-02-21 18:06:46 -05:00 by yindo · 2 comments
Owner

Originally created by @tianlongwang on GitHub (Jul 8, 2024).

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

Yes, I'm working on a workflow with different stage. I need a changeable global variable that can be accessed and modified by all other node. For example, the variable "stage", after certain work, change the global variable "stage" from 0 to 1 and route to different path of worflow.

2. Additional context or comments

Let me know if I'm not using this right.

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @tianlongwang on GitHub (Jul 8, 2024). ### Self Checks - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [X] Please do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. Yes, I'm working on a workflow with different stage. I need a **changeable global variable** that can be accessed and modified by all other node. For example, the variable "stage", after certain work, change the global variable "stage" from 0 to 1 and route to different path of worflow. ### 2. Additional context or comments Let me know if I'm not using this right. ### 3. Can you help us with this feature? - [X] I am interested in contributing to this feature.
yindo added the 💪 enhancement🌊 feat:workflow labels 2026-02-21 18:06:46 -05:00
yindo closed this issue 2026-02-21 18:06:46 -05:00
Author
Owner

@Curlyfuu commented on GitHub (Jul 24, 2024):

I'm having the same problem when executing an iteration.

@Curlyfuu commented on GitHub (Jul 24, 2024): I'm having the same problem when executing an iteration.
Author
Owner

@crazywoola commented on GitHub (Aug 28, 2024):

See conversation variables.

@crazywoola commented on GitHub (Aug 28, 2024): See conversation variables.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#4494