var keys = [];
var set = new GlideappVariablePoolQuestionSet();
set.setRequestID(current.sys_id);
set.load();
var vs = set.getFlatQuestions();
var vardata = "";
for (var i = 0; i < vs.size(); i++) {
if (vs.get(i).getLabel() != '') {
vardata = vardata + (' ' + vs.get(i).getLabel() + " : " + vs.get(i).getDisplayValue() + "\n");
}
}
Comments
Post a Comment