Name

sn_customerservice.CaseDefaultUtil

Description

No description available

Script

var CaseDefaultUtil = Class.create();
CaseDefaultUtil.CASE_SERVICE_EXTENSION_POINT = "CSMService";

CaseDefaultUtil.prototype = {
  initialize: function() {
  },
  
  getCaseDefaultValue : function(current,param){

  	var ep = new GlideScriptedExtensionPoint().getExtensions(CaseDefaultUtil.CASE_SERVICE_EXTENSION_POINT);
  	var result = '';
  	// If there is any other new extension instance other than the OOB one, concat them together
  	// The extension instance with higher order number would overwrite the one with lower order number
  	for(var i = 0; i < ep.length; i ++){
  		var point = ep[i];
  		result = point.getCaseParamValue(current,param,result);
  	}
  	

  	return result;
  },
  
  type: 'CaseDefaultUtil'
};

Sys ID

2697471987012300f734a7da0acb0bc0

Offical Documentation

Official Docs: