Appian Community and Appian Academy are being upgraded. As a part of the upgrade, Appian Community is currently in read-only mode, and user registration is disabled until August 3. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!
The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.
Help please
I want to store a multipledropdownfield into my cloud database
I add the multipledropdownfield, if i pick only value, it works great (see the image bellow)
If i pick or select TWO or more values, an ERROR appears (see the image bellow)
This is the expression of the multipleDropdownField
{ a!multipleDropdownField( label: "Acceso a servicios basicos?", labelPosition: "ABOVE", placeholder: "--- Seleccione ---", choiceLabels: { "Agua", "Luz", "Teléfono", "Internet" }, choiceValues: { "Agua", "Luz", "Teléfono", "Internet" }, value: ri!CWA_OECClient.coecaccesoservicionbasicos, saveInto: ri!CWA_OECClient.coecaccesoservicionbasicos, required: true, validations: {} )}
Discussion posts and replies are publicly visible
Try using the below code
{ a!multipleDropdownField( label: "Acceso a servicios basicos?", labelPosition: "ABOVE", placeholder: "--- Seleccione ---", choiceLabels: { "Agua", "Luz", "Teléfono", "Internet" }, choiceValues: { "Agua", "Luz", "Teléfono", "Internet" }, value: if( a!isNullOrEmpty(ri!CWA_OECClient.coecaccesoservicionbasicos), null, split(ri!CWA_OECClient.coecaccesoservicionbasicos, ";") ), saveInto: { ri!CWA_OECClient.coecaccesoservicionbasicos, a!save(ri!CWA_OECClient.coecaccesoservicionbasicos, joinarray(ri!CWA_OECClient.coecaccesoservicionbasicos, ";")) }, required: true, validations: {} ) }
i tried it, but doesn't work
Could you please show us the rule imput CDT
Yes, thanks so much
these are?
For Me, It is working fine.
if i pick only value, it works great
Could you please use trim over the split function please?
this part?