Name

global.SigningJobTypeChoices

Description

Choice list for signing job type field based on user session

Script

var SigningJobTypeChoices = Class.create();
SigningJobTypeChoices.prototype = {
  process: function() {
  	var supportedChoices = new SNC.SigningJob().getSupportedJobTypeChoices();
  	var choiceList = new GlideChoiceList();
  	var jsonObj = JSON.parse(supportedChoices);
  	for (var value in jsonObj)
  		choiceList.add(value, jsonObj[value]);

  	return choiceList;
  },

  type: 'SigningJobTypeChoices'
};

Sys ID

e82dd170772021106b84a81f7f5a99ff

Offical Documentation

Official Docs: