Example of the Core Script in Siebel eScript

The following are examples of the core script in Siebel eScript:

  • To regenerate rule groups hierarchy:

    var busobj;
    var buscomp;
    
    // Regenerate Rule Groups
    busobj=TheApplication().GetBusObject("Assignment");
    buscomp=busobj.GetBusComp("Assignment Rule Group");
    buscomp.InvokeMethod("RegenerateDenormHierarchy");
    buscomp=null
    busobj=null
    
  • To regenerate the rule hierarchy:

    var busobj;
    var buscomp;
    
    // Regenerate Rules
    busobj=TheApplication().GetBusObject("Assignment");
    buscomp=busobj.GetBusComp("Assignment Group");
    buscomp.InvokeMethod("RegenerateDenormHierarchy");
    buscomp=null
    busobj=null