Introducing queries
You can use queries to search through your rule projects.
Queries display the business rules or other project elements that correspond to criteria of your choice.
You can use queries to evaluate the impact of changes to your rules. When you obtain the query results, you can perform actions on them, generate a report, or perform checks.
The query part, for example, Find all business rules such that the creator of each business rule is me
The action part, for example Do set the status property to deployable
You can use queries throughout the Enterprise console: in smart folders, reports, when generating rulesets. You create, run, and save them on the Query tab.
Click the refresh icon
to check for updated
queries run by concurrent users.
You construct queries in the same way that you construct rules. The query condition contains the criteria for the query action to be executed. The default query action is to just display the results, but you can also have the query carry out other actions such as moving the results of the query to another folder.
Queries run independently of what is currently selected in the Explore tab. They run against the current rule project, as well as any dependent projects if you specify this option.
To run a query, click the Run Query button. The query results display in the same tables as those on the Explore tab, which give you access to the same exploration features such as view details and history.
- Apply Actions
If your query has an action part, the actions are performed only when you click the link. The action is performed on all the rules retrieved by the query.
- Generate Report on Query Results
The report runs in another browser window and displays the content and properties of the results of the query, ready to print.
- Perform Checks on Query Results
This task produces a rule analysis report on the results of the query. Rule analysis is performed on the options checked in .
