Siebel Assignment Manager Administration Guide > Assignment Rule Administration for Delegated Assignment >

Automating the Menu Options: Regenerate Denormalized Rule Hierarchy and Rule Group Hierarchy


When Siebel Assignment Manager rules or rule groups are created through the user interface (see Creating Assignment Rule Groups and Creating Assignment Rules), the hierarchy is automatically maintained (that is, the tables are updated). However, whenever new Assignment Manager rules or rule groups are imported using Siebel Enterprise Integration Manager (EIM), the hierarchy must be regenerated.

The following menu options support regenerating rule hierarchy and rule group hierarchy:

  • Regenerate Denormalized Rule Group Hierarchy
  • Regenerate Denormalized Rule Hierarchy

The Siebel administrator or Assignment Manager administrator can use these options after a Siebel EIM import of the Assignment Manager rules or rule groups.

Regenerating Rule Groups Hierarchy

After importing the Assignment Manager rule groups, regenerate the rule group hierarchy.

To regenerate the rule group hierarchy

  1. Navigate to the Administration - Assignment screen, and then the Rule Groups List view.
  2. In the Rule Groups list, click Menu and then select Regenerate Denormalized Rule Group Hierarchy.

Regenerating Rule Hierarchy

After importing the Assignment Manager rules, regenerate the rule hierarchy.

To regenerate the rule hierarchy

  1. Navigate to the Administration - Assignment screen, and then the Assignment Rules List view.
  2. In the Assignment Rules list, click Menu and then select Regenerate Denormalized Rule Hierarchy.

About Invoking Regeneration Functions by Scripting

It is possible to invoke the functions Regenerate Denormalized Rule Group Hierarchy and Regenerate Denormalized Rule Hierarchy by scripting, using the corresponding business component method:

  • To regenerate rule groups hierarchy, invoke the method RegenerateDenormHierarchy on the Assignment Rule Group business component.
  • To regenerate rule hierarchy, invoke the method RegenerateDenormHierarchy on the Assignment Group business component.

This method can then be used to automate the call of these functions. For example, after a Siebel EIM batch, a workflow process can be launched, calling a custom business service that invokes the corresponding methods.

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

Siebel Assignment Manager Administration Guide Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Legal Notices.