Rule Builder > Business Query Language Reference > Tokens for the Action Part of a Query

In the action part of a query the arrow (images/blueArrow_icon.gif ) token is a delimiter between actions. Clicking the images/blueArrow_icon.gif token creates a new action and provides the text <select an action>. When you click insert as query result (the default) or <select an action> (when it is displayed), a drop-down list of the possible actions is displayed as shown in Figure 25.7:

images/bqlActionFilters.png

Figure 25.7    Action Part Tokens

The action part tokens are described in Table 25.4.

Table 25.4   Action Part Tokens
Token 
Description 
Comment 
add value <value> to tag <tag>  The token add value <value> to tag <tag> adds a given value to the specified tag of the filtered rule.  Provides the :, <enter a value>, and <select an item> subtokens. 
copy to package <package name>  The token copy to package <package name> makes a copy of the filtered rule in the package you specify.  Provides the :, <enter a value>, and <select an item> subtokens. 
delete  The token delete deletes the filtered rule.  The token delete has no subtokens. 
insert as query result  The token insert as query result inserts the filtered rule into the Query Results panel. The Query Results panel displays all the properties of the filtered rules in columns.  The token insert as query result has no subtokens. 
move to package <package name>  The token move to package <package name> moves the filtered rule in the package you specify.  Provides the :, <enter a value>, and <select an item> subtokens. 
replace in top package <name>  The token replace in top package <name> copies the contents of the top package specified in the top package token to the top package specified here.  Provides the :, <enter a value>, and <select an item> subtokens. 
set active to <new value>  The token set active to <new value> sets the active property of the filtered rule to <new value> The set active to <new value> token provides the : subtoken. When you click <enter a value>, the subtoken <new value> provides you with the values true and false When you click the subtoken <select an item>, the subtoken <new value> provides you with the compatible attributes.  Provides the :, <enter a value>, and <select an item> subtokens. 
set documentation to <new value>  The token set documentation to <new value> sets the documentation property of the filtered rule to <new value> Provides the :, <enter a value>, and <select an item> subtokens. 
set editable to <new value>  The token set editable to <new value> sets the editable property of the filtered rule to <new value>.   The set editable to <new value> token provides the : subtoken. When you click <enter a value>, the subtoken <new value> provides you with the values true and false When you click the subtoken <select an item>, the subtoken <new value> provides you with the compatible attributes.  Provides the :, <enter a value>, and <select an item> subtokens. 
set name to <new value>  The token set name to <new value> sets the name property of the filtered rule to <new value> Provides the :, <enter a value>, and <select an item> subtokens. 
set packet to <new value> (deprecated)  The token set packet to <new value> sets the packet property of the filtered rule to <new value>. If you load an old repository into JRules, you may have packet related tokens in queries.  Provides the :, <enter a value>, and <select an item> subtokens. 
set priority to <new value>  The token set priority to <new value> sets the priority property of the filtered rule to <new value> Provides the :, <enter a value>, and <select an item> subtokens. 

See Also

Browsing Query Results


Customer Support | Copyright © 1987-2004 ILOG S.A. All rights reserved. Legal terms. PREVIOUS   NEXT