Search

The Search element provides a graphical representation of the 'readall' expression and retrieves all rule object instances of a rule class which were created by client code. It can retrieve a single item from a list if the 'singleitem' expression is selected. The Search element can be added to other palette elements, for example, Filter or Create. No element can be added to the Search element.

Properties:

The following table lists specific properties items for this element:

Table 1. Search properties items
Name Description
Class The name of the rule class that is chosen as a type. This is visible in the Technical Tab.
Rule Set The name of the rule set that includes the chosen rule class. This is visible in the Technical Tab.
Single Item Only one item returned from the element. This is visible in the Technical Tab.
Behavior when no items found Return either one of these results (error, return null) when no items found. This is activated when the 'Single Item' box is checked.
Behavior when multiple items found Return either one of these results (error, return null, return first, return last) when multiple items found. This is activated when the 'Single Item' box is checked.

Pop-up menu:

The following table lists specific pop-up menu items for this element:

Table 2. Search Element Pop-up Menus items
Name Description
Edit Search Edit the Search element by choosing the rule class and rule set you want to refer to.