public Command createCommand(JSONArray inputJson, String model, Workspace workspace)
throws JSONException, KarmaException {
String worksheetId = HistoryJsonUtil.getStringValue(Arguments.worksheetId.name(), inputJson);
String hNodeId = HistoryJsonUtil.getStringValue(Arguments.hNodeId.name(), inputJson);
String delimiter = HistoryJsonUtil.getStringValue(Arguments.delimiter.name(), inputJson);
String newColName = HistoryJsonUtil.getStringValue(Arguments.newColName.name(), inputJson);
String newHNodeId = null;
if(HistoryJsonUtil.valueExits(Arguments.newHNodeId.name(), inputJson))
newHNodeId = HistoryJsonUtil.getStringValue(Arguments.newHNodeId.name(), inputJson);
String selectionName = CommandInputJSONUtil.getStringValue(Arguments.selectionName.name(), inputJson);
Command comm = new SplitValuesCommand(getNewId(workspace), model,
worksheetId, hNodeId,
delimiter, newColName, newHNodeId, selectionName);
comm.setInputParameterJson(inputJson.toString());
return comm;
}