Hi Team,
can you please help me with issue stated below:
I have a multi select drop down whose value(id) I m saving in text field and saving in DB once I save.
When I again g o back to edit the form I don't see the values which I selected below and getting below error:
Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error at function a!multipleDropdownField [line 247]: A multiple dropdown component [label=“Beneficial Owner Relationship”] has an invalid value for “value”. All selected values must be present in the choiceValues array, but value was 465; 467 and choiceValues was 465; 467.
I tried casting too but it I snot working.Any lead would be helpful.
Thanks!
Discussion posts and replies are publicly visible
It sounds like you are storing an array of ids as a semicolon delimited text to the database, but your dropdown is expecting an array of IDs instead. You can probably just use split() with ";" as the separator to get the semicolon delimited text back to an array before passing the variable to your dropdown. docs.appian.com/.../fnc_text_split.html
I was using this ,now I casted it to integer post spliting and its finally working.