Skip to main content
February 9, 2022
Question

Expression evaluation error

  • February 9, 2022
  • 4 replies
  • 0 views

Hi ,

Getting Expression evaluation error on UI while selecting multiple dropdown with two values. Need some inputs on below error to handle on UI :

"Expression evaluation error [evaluation ID = XYZ12B] in rule 'testRule1' (called by rule 'testRule2') at function a!forEach [line 286]: An error occurred while executing a save: Expression evaluation error: The list of indicies and list of new values must be  of equal length. The list of indicies has 1 items. The list of new values has 2 items."

Thanks 
Sandeep

    4 replies

    stefanhelzle0001
    Brainy
    February 9, 2022

    Can your share some code?

    February 10, 2022

    Hi Stefan Helzle,

    Thank you for the quick response !

    Actually the code was build on refId logic all lookups data were stored in single table there were lot of refIds and it has become more complex code. For me don't have access to copy the piece of code so unable to provide. 

    Thanks for the support.

    Thanks,
    Sandeep

    February 10, 2022

    It would be helpful to suggest if you share the code written. It seems to be a mismatch in the length of the target and value that you want to save using a!save. The target input must be of the same length as that of the value input.

    gopalk2865
    Participating Frequently
    February 10, 2022

    could you please share your code here for better understanding?