Name

global.CSBusinessRuleUtilsImpl

Description

A collection of sys_class_name s that are whitelisted, for execution of business rules and a collection of Business Rules table_names where the execution is blacklisted

Script

var CSBusinessRuleUtilsImpl = Class.create();
CSBusinessRuleUtilsImpl.prototype = Object.extendsObject(CSMBusinessRuleUtils, {
  initialize: function() {
  },

  /* Usage: Exclude a business rule execution for a Case Type
  *	    Call with global.CSBusinessRuleUtilsImpl().isExcluded(<sys_id of Business Rule>, current.sys_class_name) in the Business Rule script before executing,
*     with corresponding entry here:
*         _<Business Rule sys_id> : ['excluded_table1', 'excluded_table2'],
  * Example: (see parent script include 'CSMBusinessRuleUtils')
  * //Sync child case fields upon parent chng
  * _d26abb053b930300b5c42479b3efc4c0 : ['csm_order_case', 'sn_complaint_case', 'sn_onboarding_case'], */

  type: 'CSBusinessRuleUtilsImpl'
});

Sys ID

9eb8a2830f320010035531ef68767ef5

Offical Documentation

Official Docs: