GlideappVariablePoolQuestionSet features (Service Catalog variables)

  var emptyVariables = [];

var readonlyVariables = []; var keys = []; var set = new GlideappVariablePoolQuestionSet(); set.setRequestID(current.request_item); set.load(); var vs = set.getFlatQuestions();

for (var i = 0; i < vs.size(); i++) { var sDisplVal = vs.get(i).getDisplayValue().toString();//--Display Value var sLabel = vs.get(i).getLabel().toString();//-- label text var sField = vs.get(i).getName().toString();//--variable name (e.g. requested_for) }


Popular posts from this blog

GlideRecord setValue

Running transform maps asynchronously

Post a command to the ECC queue for the mid server to initiate a powershell file copy