Loading Business Rules Objects
After defining new business rules, or updating existing rules, use this procedure to load the business rules:
1. Add the load files to a zip file. For example, add the BusinessRulesObjects in a zip file such as:
<windchill>/loadFiles/ixbImport/BusinessRuleObjects.zip.
* 
The zip file must be located in a folder path within the <windchill> directory.
2. Create the XML load file to load the generated zip file created in step 1.
Here is an example:
<?xml version="1.0"?>
<!DOCTYPE NmLoader SYSTEM "standardX20.dtd">

<NmLoader>
<csvExecuteImport handler="wt.load.LoadImport.executeImport">

<csvimportFilename>loadFiles/ixbImport/businessRulesObjects.zip
</csvimportFilename>
</csvExecuteImport>
</NmLoader>
3. Using a windchill shell, execute the following load command to load the business rules objects.
windchill wt.load.LoadFromFile -d <PATH>\loadFileName
where loadFileName refers to the file created in step 2. Executing the command stores the business rule objects in the database, ready to be configured.
Isto foi útil?