Creating a ruleset

Object resets are rule-based operations on the objects in your IBM OpenPages® repository. The rules that govern how an object reset will affect your data are contained in a ruleset file.

A ruleset is a set of rules contained in an XML loader file that is created outside of the OpenPages application. Multiple rulesets can be included in a single XML file. The ruleset loader file is loaded into the system through the ObjectManager loader tool. After the ruleset is imported, it can be selected during the Specify Options step of the Object Reset guided action.

When you use ObjectManager loader tool to import security rules, the entire ruleset is loaded and replace existing security rules that have the same name as a imported rule. Before importing security rules, export your existing rules first.

Object Resets can modify objects in three ways: modifying the value of a property, deleting an object, and disassociating two objects.

When creating a ruleset, you must know the bundles, properties, and property values you are modifying and match them exactly. If you do not specify a valid property or property value, the property will not be modified.

Note: Before creating a final ruleset to use for your reset session, it can be extremely helpful to create simple rulesets that contain a single rule from your final ruleset. Running these single rulesets against a known data set can verify the accuracy of each rule before attempting a massive modification of your data.

To create the ruleset file, create a new XML file. Save the file with the following naming convention:

<file-identifier>-op-config.xml