Forum Discussion

Rev's avatar
Rev
New Contributor
2 years ago

passing multiselect combo-box as parameter

Hi,   ParamA will be a multiselect combo box and the same should be passed to business rule as well. May I know how it can be done? I'm passing the parameter in calculate button, then DM step a...
  • seburn's avatar
    2 years ago

    Hi. 

    You can split the string in the receiving business rule by delimiter e g comma

    Dim split as String() = args.NameValuePairs.XFGetValue("ParamCC").Split(",")

    Then loop through rresults to get each selection e.g

    For Each param As string in split

         ' Do Something 

    Next