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
To append multiple values to the same array using a Single Variable Assigner in Dify version 0.14.2, you should use the "Extend" operation mode instead of "Append." The "Extend" operation allows you to add multiple elements to an array in a single operation, effectively solving the issue you're encountering with the "Append" operation, which only adds a single element at a time [1][2].
Self Checks
Dify version
0.14.2
Cloud or Self Hosted
Cloud, Self Hosted (Docker)
Steps to reproduce
array[string]
Append
ing multiple string values to the same conversation variable in the single Variable AssignerDSL:
variable assigner.txt
Screenshot:

✔️ Expected Behavior
In the above case, the variable
bulk
should have three values.❌ Actual Behavior
The variable
bulk
has only the last appended value.As a workaround, we can append value one-by-one by adding multiple variable assigner.
The text was updated successfully, but these errors were encountered: