diff --git a/FlowProcessMultiSelectChoices/classes/ListHelper.cls b/FlowProcessMultiSelectChoices/classes/ListHelper.cls index 4f204ef..1d35409 100644 --- a/FlowProcessMultiSelectChoices/classes/ListHelper.cls +++ b/FlowProcessMultiSelectChoices/classes/ListHelper.cls @@ -53,6 +53,8 @@ global class ListHelper implements Process.Plugin{ global Process.PluginResult invoke(Process.PluginRequest request) { String inputList = (String) request.inputParameters.get('inputList'); + inputList = inputList.removeStart('['); + inputList = inputList.removeEnd(']'); Map result = new Map(); if (inputList==null || inputList=='') { result.put('nextItem', null); @@ -181,4 +183,4 @@ global class ListHelper implements Process.Plugin{ } -} \ No newline at end of file +}