IEvaluationContext state = handlerService.getCurrentState();
result = selectedCommand.executeWithChecks(null, state);
String returnsAttribute = command.getReturns();
if ((returnsAttribute != null) && (result != null)) {
ParameterType returnType = selectedCommand.getCommand().getReturnType();
if ((returnType != null && (returnType.getValueConverter() != null))) {
String resultString = returnType.getValueConverter().convertToString(result);
csm.setDataQualified(returnsAttribute, resultString);
}
else {
if (result instanceof String) {
csm.setDataQualified(returnsAttribute, (String)result);