Rev
2 years agoNew Contributor
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 and then to BR.
Calc button : {seq_name}{ParamCC = |!ParamA!|}
DM step: {|!ParamCC!|}
BR: Get value of ParamCC
Need suggestion on how should it be passed if parameter is multiselect.
thanks
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