MultipleDropdownField

Hii,

In my case i have to edit the multiple Dropdown field value:

  • My value is Record type. Eg: [ "Product 1,Product 2"]
  • Choice value  is Array. Eg: ["Product 1","Product 2","Product 3"]

the value from my record type is like  :  "Product 1,Product 2".

So, value is not matching with choice value. How to resolve this, I tried converting the value to list of text using split but still it is not working.

  Discussion posts and replies are publicly visible

Parents Reply
  • a!localvariable(
     local!Value:rule!PP_ChoiseValues_PrimaryProduct(input: ri!record['recordType!{65daf38b-046b-457b-930c-521bbccdc1d0}PP Type.fields.{263d05f5-db7e-469f-b4bc-f41ee5d40137}primaryproduct']),
     a!multipleDropdownField(
                      choiceLabels: {
                       cons!PP_PrimaryProduct_Choices
                      },
                      choiceValues: 
                 {  cons!PP_PrimaryProduct_Choices},
                      label: "Primary Products:",
                      labelPosition: "ADJACENT",
                      placeholder: "----------- Select your Primary Product ------------",
                      value:local!Value,
                      saveInto: {local!value}
                      )
                      )
    In rule:

    split(ri!input,";")

    error:

Children