Array of values in expression rule to be inserted in dropdown choice labels.

Certified Senior Developer

I have an expression rule which is containing a data with multiple values, I am trying to insert that data to dropdown choice labels and choice values but I am not able to do that.Can anyone help me to configure that?

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Associate Developer
    in reply to sri123

    choices values can not be null  , append function takes array and values as parameter and you are passing only array into this but this is not the error which is showing on screen, your local!values variable has a null value which should not be.

    and I think you do not have any use of append function , you can just simply pass the variable and it will be fine  until unless you have use for that .

    and try replacing line 2 with below piece of code

    reject(a!isNullOrEmpty,local!values:rule!MSAJ_getAllBrands()) // this will simply reject null values in an array

       

Children