This server-side API class provides methods to extend the Engine Management functionality.
Use this method to get all engines in a list.
Return:
Example:
ss.importIncludeScript('SimpleEngine'); ss.info(SimpleEngine.getAllEngines());
Use this method to return the engine option by the specified name.
Parameter(s):
ss.importIncludeScript('SimpleEngine'); const engine = new SimpleEngine('Following Engine') ss.info(engine.getEngineOption('Active'))
Use this method to get the engine option values for the specified table.
ss.importIncludeScript('SimpleEngine'); const engine = new SimpleEngine('Following Engine') ss.info(engine.getOptionValueForTable('Active', 'itsm_inquiry')) // true
Use this method to verify if the engine is enabled for the specified table.
ss.importIncludeScript('SimpleEngine'); const engine = new SimpleEngine('Following Engine') if (engine.isEngineEnable('itsm_inquiry')) { ss.info('Following Engine enabled on itsm_inquiry'); } else { ss.info('Following Engine disabled on itsm_inquiry'); }