Record List Review fails, most likely due to a dropdown incorrectly configured as user filter field. Err Msg beow

The Requested Record Type Is Not Available

Expression evaluation error : An error occurred while trying to evaluate the expression "cons!SRVFM_VEHICLE_CATEGORIES[1] " using "{} (AppianBindingsTop)" as the context. (APNX-1-4198-000)

The constant is array of 4 short text values

  Discussion posts and replies are publicly visible

Parents
  • Hi , can you share more information about this error?

    In which Appian component is this error happening? Can you share the SAIL code that generates this error? 

  • Appian 20.3 Training Environment Account

    This error occurs when i try to "View Record List" ..
    A user filter has been built and uses a contant containing an array (text)

    ..new to APPIAN, don't know much about SAIL, sorry !

  • Hi Pedro,

    ..thanks for reply Slight smile

    The array constant (4 text literals) is to populate the dropdown as below:

                a!dropdownField(
                  label: "Category",
                  labelPosition: "ABOVE",
                  placeholder: "--- Select a Value ---",
                  choiceLabels: cons!VFM_VEHICLE_CATEGORIES,
                  choiceValues: cons!VFM_VEHICLE_CATEGORIES,
                  value: ri!vehicle.category,
                  saveInto: ri!vehicle.category,
                  searchDisplay: "AUTO",
                  showWhen: or(                              
                    isnull(ri!readOnly),                              
                    ri!readOnly=false()    
                    ),

Reply
  • Hi Pedro,

    ..thanks for reply Slight smile

    The array constant (4 text literals) is to populate the dropdown as below:

                a!dropdownField(
                  label: "Category",
                  labelPosition: "ABOVE",
                  placeholder: "--- Select a Value ---",
                  choiceLabels: cons!VFM_VEHICLE_CATEGORIES,
                  choiceValues: cons!VFM_VEHICLE_CATEGORIES,
                  value: ri!vehicle.category,
                  saveInto: ri!vehicle.category,
                  searchDisplay: "AUTO",
                  showWhen: or(                              
                    isnull(ri!readOnly),                              
                    ri!readOnly=false()    
                    ),

Children