-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Open
Labels
🌊 feat:workflowWorkflow related stuff.Workflow related stuff.🐞 bugSomething isn't workingSomething isn't working
Description
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.10.0
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
- Create a workflow with a start node
- Add an optional input variable with a default value (e.g., text input with default "hello")
- Call the workflow API without providing that optional field
- The variable receives
nullinstead of the default value "hello"
✔️ Expected Behavior
Optional workflow input variables should use their configured default values when not provided in the API request.
❌ Actual Behavior
Optional variables receive null when omitted from the API request, ignoring the default value configuration.
dosubot
Metadata
Metadata
Assignees
Labels
🌊 feat:workflowWorkflow related stuff.Workflow related stuff.🐞 bugSomething isn't workingSomething isn't working