Appian Community and Appian Academy are being upgraded. From July 24–August 3, the Appian Community will be in read-only mode. During this time, the site will be read-only and user registration will be disabled. 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.

Error

A Score Level 1

Expression evaluation error [evaluation ID = DD2TAAGA] in rule ‘ibs_referencetableibsrefrfld' (called by rule ‘ibs_referencetables') at function a!dropdownField [line 312]: A dropdown component [label=“FLD_ID”] has an invalid value for “value”. All selected values must be present in the choiceValues array, but value was 56 and choiceValues was 1; 2; 3; 4; 5; 6; 7; 8; 9; 10; 11; 12; 13; 14; 15; 16; 17; 18; 19; 20; 21; 22; 23; 24; 25; 26; 27; 28; 29; 30; 31; 32; 33; 34; 35; 36; 37; 38; 39; 40; 41; 42; 43; 44; 45; 46; 47; 48; 49; 50; 51; 52; 53; 54; 55; 56.

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to Beth

    You should just need to post the contents of a!dropdownField_20r2(), including the choiceValues, value, and saveInto parameters (which you haven't included here).  In this example everything prior to a!dropdownField is not really relevant.

    It may also help to see the part of your code where local!totalRowList is first initialized.  And since it looks like your choiceLabels code is doing something fairly convoluted, a brief explanation of what you're trying to accomplish over-all might help folks understand what's happening there.

    As an aside, when inserting SAIL code like this, there is a handy feature here in Community called "Insert Code" ("Insert" --> "Insert Code") which will provide a text box you can paste code into, which will preserve important formatting such as indentation, along with preventing longer code from blowing out the comment length.

Children
No Data