Personnalisation avancée > Business Logic Customization > Customizing Change Management > Evaluating Business Rules On Demand > Solution
  
Solution
Create a new single step wizard which calls a customized MVC builder to execute a set of business rules and view the results.
Prerequisite Knowledge
To apply this best practice you need to have an understanding of the following:
Basic development involving HTML forms, JSP, and XML.
The actions framework in the Windchill client architecture.
The MVC component framework in the Windchill client architecture.
The management of RBINFO file customizations.
The Business Rules and how to execute business rules.
The Related Documentation section includes references to many or all of these subjects.
Solution Elements
Element
Type
Description
com.ptc.windchill.enterprise.businessRules.mvc.builders.AbstractBusinessRulesResultsTable
Java
Given the result of executing the business rules displays the failed results. The results are displayed in a table or tree, depending on the table view selected. The "Group by Object" view results are listed by object in a simple table. The "Group by Rule" results are listed by rule in a tree table.
CustomBusinessRulesResultsTable
Java
An example of a custom business rules result table builder which executes the business rules for the resulting object on a change notice.
config/mvc/custom.xml
xml
Registers the new CustomBusinessRulesResultTable builder.
config/actions/custom-actions.xml
xml
Defines a new custom action to evaluate a set of business rules.
Custom Action Resource Info File
rbInfo
Localized properties for your action (optional).
config/actions/custom-actionModels.xml
xml
Include an action in action menu.