Wizard for entering database queries
The wizard helps you to formulate a condition (where clause) for database queries. The complete database query is composed internally. It always refers to the database table, which is preset when the Where clause wizard starts.
NOTE: In contrast to the filter designer, the Where clause wizard can also be used for columns not displayed in Unified Namespace.
Figure 16: WHERE clause wizard
There are predefined operators to make it easier to create conditions. The operators are underlined. Operators with a help entry for the permitted value (such as column selection, data input or free text) are shown in parentheses (<<Operator>>).
To create a database query using the WHERE clause wizard
- Start the WHERE clause wizard by pressing the button.
- Create the database query.
- Click Continue.
The preview shows all the entries that meet the defined condition.
- Click Continue.
The database query condition is shown in SQL syntax.
- Click Finished.
Filter designer
The filter designer helps you formulate a condition for database queries. The complete database query is composed internally. It always refers to the Employee.
Figure 17: Filter designer
To create a database query using the filter designer
-
Start the wizard by pressing .
-
Using the all operator, specify whether at least one or all of the conditions defined below must be fulfilled.
-
When you hover over the operator, the cursor changes to a hand symbol.
-
By clicking the operator, switch between the all and at least one values.
-
Create the conditions.
-
In the first menu, specify the condition type.
Depending on the condition type, other menus are displayed.
Table 25: Permitted condition types
Property |
Employee object properties. The drop-down menu with permitted properties is already restricted to the most important employee properties. |
For the account with the target system type |
Employee’s user account. Valid user account properties depend on which target system is selected.
You can only select columns that are shown in the Unified Namespace and for which the Display in the filter designer option is enabled. |
For entitlements with the target system type |
Employee target system group. Valid group properties depend on which target system is selected.
You can only select columns that are shown in the Unified Namespace and for which the Display in the filter designer option is enabled. |
SQL Query |
Free choice of SQL query (WHERE clause). To use the WHERE clause wizard, click . |
-
From the additional menus, select the object attributes for the condition.
All other controls are operators and properties that you require to formulate the condition. You can only select one entry from the drop-down menu. You can select more entries from extended drop-down menus, where the properties are displayed hierarchically and then added to the condition using an "or" operator. You may enter text directly into input fields. Pop-up menus and input fields are shown and hidden dynamically.
-
To insert another condition, click . All partial conditions are linked by an AND link.
-
To delete a condition, click .
-
To the preview window, click . All objects determined by the condition are displayed.
Entering custom filter conditions
At certain points you can define custom filter conditions. The filter conditions are formulated like a condition (WHERE clause) for a database query.
You can enter database queries directly or put them together with a wizard. Use the and button to switch to the relevant view.
Each condition is displayed in a special control in the wizard. The controls contain connection points to logically join single conditions or delete single conditions. The connection points are set if you mouse over the edge of the respective control.
Figure 18: Wizard for entering filters
To create a filter with a wizard
- Click Create condition.
This inserts a control for the first condition.
- Enter the condition.
- Click the left-hand part of the condition and select the property to filter by.
The properties for filtering are listed. You can also define other properties and use variables.
- Specify the comparison operator. Click the comparison operator to change it.
The comparison operators =, <>, <, >, <=, >=, and like for defining conditions are supported.
- Specify the comparison value on the right-hand side of the condition.
You can enter a string for a comparison value or select a property from the list. You can also use variables.
NOTE: To switch back to the input field again, select Input field from the menu.
- To link condition you can use the logical operators AND, OR, and NOT.
- Mouse over the edge of the control to which you wish to create a link.
The connection points appear.
- Mouse over a connection point and select the connection.
This adds a new control for the next condition.
NOTE: To remove a control, select the Delete connection point.
Selecting from lists
Use the selection list to select an element.
NOTE: You can add to some selection lists, in which case an entry selection appears in the list.
The extended selection list links to elements from a different database table. To better display your hierarchical structures, from this selection list you can select from hierarchy trees as well as flat structures.
Figure 19: Extended selection list
To select a value form an extended selection list
- Open the selection list by clicking the arrow.
- Enable or disable an entry using a single click and close the menu.
- OR -
Enable or disable an entry by double-clicking.
The selection list closes automatically.
Tip: As you enter text in the input field, the system filters the selection data for you. When you open the selection list you can see the entries that contain the text you entered. If the entered text is unique, you can also select the relevant entry using the tab.
To search in the selection list
- Click the magnifying glass in the selection list title bar to open the search dialog.
- Enter your search term.
- Set the option Case sensitive if required.
- Start the search with Search or Enter.
- Use F3 to continue searching.
- End the search with Esc.