The Decision Center samples demonstrate features and functions.
The samples are provided as Ant projects that you can compile and run using the samples console and sample server. To run the samples, you must have Decision Server installed. The source files of these code samples are available in <InstallDir>/teamserver/samples.
For information about how to use the samples console, see Using the samples console: Using the samples console.
The samples apply particular features or functions in Decision Center. Use the samples as described in the documentation. Do not use the projects provided as samples directly because you might get errors if you do not follow all the steps in the sample documentation.
Use the samples to customize Decision Center using Ant tasks as follows:
Customize Decision Center authoring facilities with the Authoring extensions for Decision Center samples:
Publish a custom business rule language defined in Rule Designer (see Sample: Custom business rule language).
Plug a custom value editor inside the Decision Center guided editor (see Sample: Custom value editor).
Populate a BOM domain from a data source (see Sample: Data sources for BOM domains).
Create and populate decision tables (see Sample: Data sources for decision tables).
Customize the Decision Center user interface to provide easy access to key features (see Sample: GUI customization).
Use web components to edit rules (see Sample: Web authoring application).
Customize various business rule management functions with the Business rule management extensions for Decision Center samples:
Use Decision Center APIs to report differences between baselines (see Sample: Baseline comparison).
Trigger notifications when elements change in Decision Center (see Sample: Change notification).
Update and execute Decision Center reports in Rule Designer (see Sample: Custom reports).
Implement rule governance (see Sample: Governance).
Use a session controller to tune permission management (see Sample: Permission management).
Execute queries on a rule project (see Sample: Remote connection for querying).
Extend the business rule model and customize web pages to display the properties of the model (see Sample: Rule model extensions for Decision Center).
Extract a ruleset archive from a Decision Center project (see Sample: Ruleset extraction from Decision Center).
Use a workflow engine to manage rule governance (see Sample: Workflow Engine rule governance).
Customize the Decision Center Business console authoring facilities with the Decision Center Business console samples:
Plug a custom value editor inside the Decision Center rule editor (see Sample: Business console custom value editor).
Run tests and simulations to validate the behavior of your rules with the Testing in Decision Center samples:
Create simulations with custom scenario providers and key performance indicators (see Custom scenario provider and parallel execution sample details).
Populate an Excel scenario file template (see Excel scenario file template sample details).