Query conditions
When you write a query condition, you start by selecting a project element type, then you refine the search by filtering on the project element properties, definition, or semantic content.
By default, queries are run on business rules, but you can also search on other project elements:
- Specific types of business rule:
Action rules
Decision tables
Decision trees (Decision trees are deprecated)
Your own rule class if you extended the rule model
- Other project elements:
Rule packages
Rule artifacts
Technical rules
Ruleflows
Templates
Functions
Variables
Variable sets
After you have selected the project element that you want to query,
you can refine the query by adding a filter in the form of a such that statement, followed
by an appropriate condition statement, or statements. The statements
available for you to select depend on the type of project element
that you have chosen and on the elements defined in the BOM.
Examples
Find all ruleflows such that each ruleflow is in package "accounts"
Or:
Find all business rules such that the effective date of each business rule is after 3/31/2016
You can further refine queries by specifying more than one statement:
Find all business rules such that the effective date of each business rule is after 3/31/2016 and the effective date of each business rule is before 4/30/2016