Purpose: To flexibly configure search conditions for events. Solution: - Go to the Events section.
In the list of folders and queries in the left part of the workspace, choose where to create a query. You can create a query in the root or inside an existing folder with queries. | Информация |
|---|
| If you do not have sufficient rights to create items within a selected folder, a warning will be displayed. In this case, you should choose another location for the query. |
- On the toolbar, click
and, in the drop-down list, choose Create advanced query. - In the form that opens, enter the query name and, if necessary, add a description.
On the Query tab, in the Add condition drop-down list, specify the search parameters. By default, the most commonly used parameters are displayed. For parameters that you need, specify the required values in the entry fields. To remove parameters that you do not want to use in the query, click in the right upper corner of the selected parameter. - To add a parameter, in the Add condition drop-down list, choose the required parameter.
By default, added parameters are joined by the logical AND. To change the operation type, left-click the icon. The icon will change to that indicates logical OR. - Use Group of parameters element to separate attributes joined by the logical AND from attributes joined by the logical OR (see "Advanced mode").
On the Display fields tab, select attributes whose values will be displayed for found events. On the Access tab, specify who can access the query and define the access rights.
| Предупреждение |
|---|
| If you create a query in a folder with the Apply rights for related queries option enabled, then access rights for the query will be the same as for the folder. In this case, editing access right to the query is unavailable. |
To specify access rights to the query: Find the required users in the list. | Подсказка |
|---|
| To find users in the list, use the Search field. |
- Next to the user name, set the checkbox in one of the fields:
- View and execute access - to provide the user access for viewing, copying, and executing the query;
- Full access - to provide the user full access to the query.
| Информация |
|---|
| To provide access to the query to all users of the System, set a checkbox in the field with the required access level next to the All users value. |
Click: - Save - to save the query;
- Save and execute - to save and run the query.
| Информация |
|---|
| If while creating a query, you want to switch to the standard mode, then, in the Query type field, click Standard. The standard query creation mode will open. All specified parameters of the query will be saved. However, if already specified conditions can be implemented in the advanced mode only, then switching to the standard mode is unavailable. |
To edit the query, click on the toolbar. To delete the query, click . The "Примеры использования запросов" article contains examples of creating advanced queries. |