I think workflow should also have session variables #11990

Closed
opened 2026-02-21 19:05:09 -05:00 by yindo · 1 comment
Owner

Originally created by @damahaokaixin on GitHub (Mar 22, 2025).

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).
  • [FOR CHINESE USERS] 请务必使用英文提交 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.

I think workflow should also have session variables, for example, when the llm output is too long, there are multiple LLMS in the workflow, and it may be necessary to record historical session information, and now that there is a Loop component, it is more necessary to have session variables for control.

2. Additional context or comments

None

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @damahaokaixin on GitHub (Mar 22, 2025). ### 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] [FOR CHINESE USERS] 请务必使用英文提交 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. I think workflow should also have session variables, for example, when the llm output is too long, there are multiple LLMS in the workflow, and it may be necessary to record historical session information, and now that there is a Loop component, it is more necessary to have session variables for control. ### 2. Additional context or comments None ### 3. Can you help us with this feature? - [ ] I am interested in contributing to this feature.
yindo added the 🌊 feat:workflow label 2026-02-21 19:05:09 -05:00
yindo closed this issue 2026-02-21 19:05:10 -05:00
Author
Owner

@crazywoola commented on GitHub (Mar 23, 2025):

Workflow intends to execute one-off tasks. So it should not have session variables.

@crazywoola commented on GitHub (Mar 23, 2025): Workflow intends to execute one-off tasks. So it should not have session variables.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#11990