ILOG JRules User Guide > Querying and Reporting > Tasks > Querying > Running a Query

Once you have created a query, you can run it on the rule project that contains it, and optionally on rule projects referenced from the current rule project.

To run a query:

  1. In the Rule Explorer, double-click the required query to open it.
  2. If you want to run the query on the current rule project and on the elements of any rule project on which the current project depends, select Include dependencies.
  3. In the Query Editor, click Run query.
  4. All rules that meet the query search criteria are listed in the Search window.
  5. If you have created queries with actions, you can run them using the Run query actions option.
    Note
    Queries with the is using BOM member or the is using BOM class predicate will work only if the workspace has been rebuilt since the last modification. If not, the results may not be accurate.

Related Concepts

Queries

Related Tasks

Automating Queries with the Rule Studio API

Related Reference

Business Action Language
New Query Wizard