Name

global.ConditionScheduleAppliesToTablesSNC

Description

Base class methods to select the Applies to field in the Condition Schedule table. Returns the tables to select from the Applies to field in the Condition Schedule table. It includes tables extending change_request or cmdb_ci (Configuration Item)

Script

var ConditionScheduleAppliesToTablesSNC = Class.create();
ConditionScheduleAppliesToTablesSNC.prototype = {
  initialize: function() {
  },

  process: function() {
  	var tableUtils = new TableUtils('cmdb_ci');
  	var tables = j2js(tableUtils.getAllExtensions());
  	tableUtils = new TableUtils('change_request');
  	tables = tables.concat(j2js(tableUtils.getAllExtensions()));
  	return tables;
  },

  type: 'ConditionScheduleAppliesToTablesSNC'
};

Sys ID

25dcefe267b503006e6eadab9485ef19

Offical Documentation

Official Docs: