Oracle Waveset 8.1.1 Deployment Reference

What is a Rule Library?

A rule library is an XML configuration object that is stored in the Waveset repository. The configuration object contains a library object, which in turn contains one or more rule objects.

Creating rule libraries is a convenient way to organize closely related rules into a single object. Add rules to a rule library when you want to provide a grouping of related functionality. Using libraries simplifies rule maintenance by reducing the number of objects in the Repository. Using libraries also makes it easier to identify and call useful rules when you are designing forms and workflows.


Note –

Instructions for invoking rules in a rule library are provided in Invoking Rules in a Library.


The following example shows a library containing two different account ID generation rules:


Example 4–7 Using a Rule Library with Two Account ID Generation Rules


<Configuration name=’Account ID Rules’> 
   <Extension> 
      <Library> 
         <Rule name=’First Initial Last’> 
            <expression> 
               <concat> 
                  <substr> 
                     <ref>firstname</ref> 
                     <i>0</i> 
                   <i>1</i> 
                  </substr> 
                     <ref>lastname</ref> 
               </concat> 
            </expression> 
         </Rule> 
         <Rule name=’First Dot Last’> 
            <expression> 
               <concat> 
                  <ref>firstname</ref> 
                  <s>.</s> 
                  <ref>lastname</ref> 
               </concat> 
            </expression> 
         </Rule> 
      </Library> 
   </Extension> 
</Configuration>


Note –

You can use the open source Identity Manager IDEto view and edit the default rule libraries or to add new rules to an existing library object. See https://identitymanageride.dev.java.netfor more information.