Error evaluating UI Expression

i AM WORKING ON THE BUILDING A PORTAL FOR THE APPIAN DEVELOPER COURSE AND I WAS AT THE PART WERE I WAS SUPPOSED TO RIGHT CLICK ON TECHNICIAN TASK AND CLICK VIEW FORM.

WHEN I DO THAT, I GET THIS ERROR! CONFUSED AS TO WHAT TO DO. 

THIS IS THE EXPRESSION FROM WHAT I BELIEVE IT IS TALKING ABOUT! AND I HAVE NO IDEA WHAT IT IS TALKING ABOUT!

THANK YOU

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer

    Hello  
    The value of riloutage[W2286WPO Power Outage.status] is "reported", but it should be "Reported" to match the constant cons!W2286WPO.
    Appian treats choice values and dropdown values as case-sensitive.
    Check below code for better understanding.

    a!localVariables(
      local!value:"reported",
      /*If you change "reported" to "Reported" to match choice value it will work*/
      a!dropdownField(
        choiceLabels: {"Reported","In Progress","Fixed"},
        choiceValues: {"Reported","In Progress","Fixed"},
        label: "Dropdown",
        labelPosition: "ABOVE",
        placeholder: "--- Select a Value ---",
        value: local!value,
        saveInto: local!value,
        searchDisplay: "AUTO",
        validations: {}
      )
    )

Reply
  • 0
    Certified Senior Developer

    Hello  
    The value of riloutage[W2286WPO Power Outage.status] is "reported", but it should be "Reported" to match the constant cons!W2286WPO.
    Appian treats choice values and dropdown values as case-sensitive.
    Check below code for better understanding.

    a!localVariables(
      local!value:"reported",
      /*If you change "reported" to "Reported" to match choice value it will work*/
      a!dropdownField(
        choiceLabels: {"Reported","In Progress","Fixed"},
        choiceValues: {"Reported","In Progress","Fixed"},
        label: "Dropdown",
        labelPosition: "ABOVE",
        placeholder: "--- Select a Value ---",
        value: local!value,
        saveInto: local!value,
        searchDisplay: "AUTO",
        validations: {}
      )
    )

Children
No Data