Name

global.EncryptionJobTypeChoices

Description

Choice list for job type field based on user session and glide_encryption.cle_replatforming_with_kmf

Script

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

  	return choiceList;
  },

  type: 'EncryptionJobTypeChoices'
};

Sys ID

8e7fcd5877100010bef6d0adda1061f5

Offical Documentation

Official Docs: