Skip to main content
October 22, 2021
Question

Error in dropdown

  • October 22, 2021
  • 1 reply
  • 0 views

Hi All,

I have designed an interface which populates values in the fields based on dropdown value selected. The dropdown field is populated from a different table and rest other fields are from a different view.

But if the dropdown value is selected such that it does not exist in view then it given an error as shown below:

Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error at function a!multipleDropdownField [line 803]: Invalid index: Cannot index property 'cafNumber' of type String into type List of Variant

    1 reply

    richardm900458
    October 22, 2021

    Hello Shubhamy,

    It looks like that you have a cdt and you try to adress the parameter "cafNumber" ->"like  " exampleCDT.cafNumber"
    That a typical message -> Is it possible that this exact moment examplcecdt is null? As consequence there would be no cafNumber to call available.
    -> try to use index() instead.  

    https://docs.appian.com/suite/help/21.3/fnc_array_index.html 

    "-> But if the dropdown value is selected such that it does not exist in view then it given an error as shown below:"


    -> can you elaborate your steps more precisely?