You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue you're encountering with the '+= feature' in the 'Variable Assigner' block during the publishing process seems to be related to the validation checks that are performed. The error message "[Variable Assigner] Variable is required" is triggered under specific conditions, such as when the variable_selector is not provided or its length is zero, or when the operation is not WriteMode.clear and the value is not provided or is not a number [1].
In your case, it seems that the workflow is not recognizing the variable correctly during the publishing process, even though it works as expected during the preview. This could be due to a validation check that fails when the workflow is being published.
To resolve this, ensure that all required fields in the 'Variable Assigner' block are correctly set and that the variable is properly defined and accessible. If the issue persists, it might be a bug in the current version of Dify (v0.11.2), and you may need to check for any updates or patches that address this issue.
Self Checks
Dify version
v0.11.2
Cloud or Self Hosted
Cloud
Steps to reproduce
Number
and set the default value to0
+=
✔️ Expected Behavior
Publish the workflow successfully
❌ Actual Behavior
Error saying [Variable Assigner] Variable is required
The text was updated successfully, but these errors were encountered: