Extract rules
|
|
Complete this tab to control where extract output is written. Which fields appear depends on the Output Format you selected in the Definition tab.
Output Format |
Fields |
XML |
These substitutions are also automatically applied to the BIX schema file for XML (XSD file) which is automatically generated for each run of an extract rule that outputs data in XML output. |
CSV |
|
Database |
Because the Pega RULES database is the source of the data, do not select PegaRULES as the target in this field. |
After you complete this tab, save the rule form. Then click Test Connectivity to verify that you have a valid path to the database or directories specified in this tab. PRPC reports results of the test in a pop-up window.
Check the Include manifest checkbox to create a manifest, or summary statement, of the records extracted. See a description of the manifest contents below. You can create the manifest in a manifest file format of your choice, independent of the output format you selected for the actual extract. Depending on your choice, further fields appear:
Output Format |
Fields |
XML |
|
Comma Separated File (CSV) |
Manifest CSV file output directory — Identify a directory to receive the CSV files. |
Database Schema |
Manifest output database name -- Select the name of the database to which to write the manifest. |
Note: if you want to output the manifest to a database, you must prepare the database by adding two tables, pr_extract_summary and pr_extract_details. When you run the extract for the first time (or after editing the rule), in the form where you enter run parameters check the Generate manifest schema DDL checkbox to create the schema DDL with which to create the tables. In the next field provide the location on your computer where the schema is to be created. Give the created schema to your database administrator, who can update the database so it can receive the manifest.
Click Test Connectivity to verify that you have a valid path to the database or directory you specified. PRPC reports results of the test in a pop-up window.
In the Include check total property field you can select an extract property to use as a "checksum" for the extract.
The manifest you generate includes a summary of the extract run, including:
If you save the manifest to csv or to a database, the manifest also includes, for each destination csv file or table :
The extract writes the manifest records as a single commit at the end of the extract. If there is an error during this commit, the extract writes the manifest information to the log file.