In the workflow, when selecting the time type for custom metadata filtering, it's not possible to select a variable; only fixed values ​​can be entered. #21893

Open
opened 2026-02-21 20:14:46 -05:00 by yindo · 3 comments
Owner

Originally created by @human-wave on GitHub (Jan 26, 2026).

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.11.4

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Image

✔️ Expected Behavior

Image Allow it to select variables in the same way as string types.

Actual Behavior

No response

Originally created by @human-wave on GitHub (Jan 26, 2026). ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [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, otherwise it will be closed. - [x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.11.4 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce <img width="728" height="700" alt="Image" src="https://github.com/user-attachments/assets/b6d7641e-1512-4543-a364-1c3eccd1d061" /> ### ✔️ Expected Behavior <img width="737" height="395" alt="Image" src="https://github.com/user-attachments/assets/ac58a271-bd1c-472c-8c0c-f6c715cc53e6" /> Allow it to select variables in the same way as string types. ### ❌ Actual Behavior _No response_
yindo added the 🐞 bugoutdated labels 2026-02-21 20:14:46 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Jan 26, 2026):

Hi @human-wave! I'm Dosu and I’m helping the dify team.

This is a known limitation in Dify (including 1.1.4 and newer): the workflow UI only allows fixed values for time-type custom metadata filters, not variables. This is due to how the UI is implemented—variable selection is supported for string, number, and select types, but not for time types, which only render a date picker for fixed values. There are no workarounds or configuration options to enable variable selection for time-type filters, and refreshing or clearing cache will not resolve it. This limitation is confirmed by both the codebase and multiple GitHub issues and is not considered a bug but a missing feature at this time. You can follow or upvote related issues for updates or consider contributing if you need this feature sooner [source 1] [source 2].

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other

Chat with Dosu Open in Cursor Join Discord Share on X

@dosubot[bot] commented on GitHub (Jan 26, 2026): <!-- Greeting --> Hi @human-wave! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the dify team. <!-- Answer --> This is a known limitation in Dify (including 1.1.4 and newer): the workflow UI only allows fixed values for time-type custom metadata filters, not variables. This is due to how the UI is implemented—variable selection is supported for string, number, and select types, but not for time types, which only render a date picker for fixed values. There are no workarounds or configuration options to enable variable selection for time-type filters, and refreshing or clearing cache will not resolve it. This limitation is confirmed by both the codebase and multiple GitHub issues and is not considered a bug but a missing feature at this time. You can follow or upvote related issues for updates or consider contributing if you need this feature sooner [[source 1](https://github.com/langgenius/dify/issues/27155)] [[source 2](https://github.com/langgenius/dify/blob/d941201a3e8109e32406bfb87c4b59c54a65e073/web/app/components/workflow/nodes/knowledge-retrieval/components/metadata/condition-list/condition-item.tsx#L36-L206)]. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/e30c70e1-d84a-4c0e-b6aa-a8bec19cc7ff?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/e30c70e1-d84a-4c0e-b6aa-a8bec19cc7ff?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/e30c70e1-d84a-4c0e-b6aa-a8bec19cc7ff?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/e30c70e1-d84a-4c0e-b6aa-a8bec19cc7ff?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/e30c70e1-d84a-4c0e-b6aa-a8bec19cc7ff?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/e30c70e1-d84a-4c0e-b6aa-a8bec19cc7ff?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/e30c70e1-d84a-4c0e-b6aa-a8bec19cc7ff?feedback_type=other)</sup> [![Chat with Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/6088a4f4-073a-43f3-b3d4-4f06fb0c05a0/ask?utm_source=github)&nbsp;[![Open in Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=This%20is%20a%20known%20limitation%20in%20Dify%20%28including%201.1.4%20and%20newer%29%3A%20the%20workflow%20UI%20only%20allows%20fixed%20values%20for%20time-type%20custom%20metadata%20filters%2C%20not%20variables.%20This%20is%20due%20to%20how%20the%20UI%20is%20implemented%E2%80%94variable%20selection%20is%20supported%20for%20string%2C%20number%2C%20and%20select%20types%2C%20but%20not%20for%20time%20types%2C%20which%20only%20render%20a%20date%20picker%20for%20fixed%20values.%20There%20are%20no%20workarounds%20or%20configuration%20options%20to%20enable%20variable%20selection%20for%20time-type%20filters%2C%20and%20refreshing%20or%20clearing%20cache%20will%20not%20resolve%20it.%20This%20limitation%20is%20confirmed%20by%20both%20the%20codebase%20and%20multiple%20GitHub%20issues%20and%20is%20not%20considered%20a%20bug%20but%20a%20missing%20feature%20at%20this%20time.%20You%20can%20follow%20or%20upvote%20related%20issues%20for%20updates%20or%20consider%20contributing%20if%20you%20need%20this%20feature%20sooner%20%5B%5Bsource%201%5D%28https%3A//github.com/langgenius/dify/issues/27155%29%5D%20%5B%5Bsource%202%5D%28https%3A//github.com/langgenius/dify/blob/d941201a3e8109e32406bfb87c4b59c54a65e073/web/app/components/workflow/nodes/knowledge-retrieval/components/metadata/condition-list/condition-item.tsx%23L36-L206%29%5D.)&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify/issues/31521)
Author
Owner

@crazywoola commented on GitHub (Jan 26, 2026):

Is this 1.11.4?

@crazywoola commented on GitHub (Jan 26, 2026): Is this 1.11.4?
Author
Owner

@human-wave commented on GitHub (Jan 29, 2026):

yes

@human-wave commented on GitHub (Jan 29, 2026): yes
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#21893