Skip to main content
July 28, 2022
Question

Error evaluating UI expression

  • July 28, 2022
  • 10 replies
  • 1 view

Hi, i am getting this error but there is no further information on which expression rule might be causing this. Checked the tomcat logs but the stack trace does not show any further useful information either.

Error evaluating UI expression

  • Expression evaluation error [evaluation ID = 43f47:2469d] : Invalid index: Cannot update value of length 5 by assigning value of length 1

Anyone can advise on how to troubleshoot this error further?

    10 replies

    csteward
    July 28, 2022

    If you could share your code performing the update and throwing an error, and the values included, that will greatly assist. 

    harshitb6843
    July 29, 2022

    You will have to isolate the problem. If you are not sure what is causing this problem then you will have to either look for a piece of code that might be used for updating (as Chris mentioned) or you need to delete small blocks of code to see removing which code block removes the error. 

    sangeethab0005
    Participating Frequently
    July 29, 2022

    [mention:bd24f58e693048ab9e4192eb55985186:e9ed411860ed4f2ba0265705b8793d05] Can you attach the code so we can fix.

    I think the issue is for updating array of 5 index you are passing value for only one index

    adityag9712
    July 29, 2022

    Hi, 

    Can you please use the proper index instead of . dot operator

    August 3, 2022

    Thanks all for the replies. i will review your replies and see how to proceed next.

    August 10, 2022

    i traced through the flow of UI invocation from within appian designer and got this error when i click on the same link that throws the earlier error i posted. it seemed to give more information but i couldn't understand what this error is about.

    anyone has any idea?

    Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error [evaluation ID = 62197:797b3] : An array of components cannot contain a form layout, dashboard layout, or column layout. Received a form layout at index 1.

    August 10, 2022

    this error also seemed to appear only after upgrade to appian ver 22 from ver 20. Another interesting observation i had is that this error will only be thrown when a appian administrator type user triggered it. There is no error when a appian basic type user triggers it.

    August 10, 2022

    If you dont mind then could you please share your code .