| ILOG JRules User Guide > Querying and Reporting > Concepts > Queries > Query Actions |
Query Actions |
PREVIOUS NEXT |
A query action specifies the action to be taken if the conditions of a query are met. The default action of a query is to display the results of the query in the Search window. However, you can extend the actions of a query by adding a Do statement to it.
You can specify the following actions:
The actions available depend on the project element specified in the query. For example, there are more actions to choose from for a query on business rules than for a query on variables.
Examples
Find all business rules such that the status of each business rule is new Do set the status of each business rule to validated
Or:
Find all decision tables such that each decision table modifies the value of 'the insurance rate' Do move each decision table to package "insurance"
Or:
Find all business rules such that each business rule may lead to a state where [the credit score of `a borrower' is less than 5 ] and the expiration date of each business rule is after 6/21/2007 Do delete each business rule
| Copyright © 1987-2008 ILOG S.A. All rights reserved. Legal terms. Documentation homepage. | PREVIOUS NEXT |