1. Access the Workflow module.
2. Select the Queries option from the menu.
3. In the Event Queries section, click Create and select Event Progress from the drop-down list that appears (see figure below).
The system displays the Filters step, where the filters to be used can be selected, which will reduce the number of events displayed in the results (see figure below). Event attributes created in the Administration module will be listed here as optional filters.
4. Select the filter you want to use by clicking one of the filter options displayed on the left (see figure below). Selecting a filter means indicating that only events that match the criteria set in the filters selected will be displayed in the query results. For example, if you filter a query by a certain status, only the events with the status selected will be included in the results.
5. Select the criteria to be added to the selected filter (see figures below for examples). The options will vary according to the type of filter.
Note: When criteria is set for one of the filters available, a funnel icon () is displayed next to its name (see figure below).
6. After selecting the filters, click Proceed to continue creating the query. If you want to generate the query, click Generate Query. If you want to cancel query creation, click Cancel. To return to the previous step, click Back.
When Proceed is clicked, the system displays the Columns step, where the columns to be displayed in the query results can be selected (see figure below). Event attributes created in the Administration module will be available as options here.
7. Select the columns you want to include in the query results by marking the checkboxes next to each option. By default, the system will show some pre-selected options that can be removed, while others are required.
8. After selecting the columns, click Proceed to continue creating the query. If you want to generate the query, click Generate Query. If you want to cancel query creation, click Cancel. To return to the previous step, click Back.
When Proceed is clicked, the system displays the Audience step, where you can select which people and groups will be able to view the query in the Home module and in this module, if they have permission to access it.
9. Click Add Audience and select People or Groups to add them (see figure below).
10. If, for example, you selected People, select the people to be added and click Add People (see figure below).
The system displays the people selected.
11. To remove people or groups from the audience, mark the checkboxes next to their names and click Remove Audience.
The system requests confirmation to remove the people or groups from the audience (see figure below).
12. Click Remove Audience to confirm. If you want to quit the operation, click Cancel.
The system removes the people selected from the audience.
13. Click Proceed to continue creating the query. If you want to generate the query, click Generate Query. If you want to cancel query creation, click Cancel. To return to the previous step, click Back.
When Proceed is clicked, the system displays the Editors step, where you can select which people and groups will be able to edit the query, receiving the same permissions to it as the author.
14. Click Add Editors and select People or Groups to add them to the list of editors (see figure below).
15. If, for example, you selected People, select the people to be added and click Add People (see figure below).
The system displays the people selected.
16. To remove people or groups from the list of editors, mark the checkboxes next to their names and click Remove Editors.
The system requests confirmation to remove the people or groups from the list of editors (see figure below).
17. Click Remove Editors to confirm. If you want to quit the operation, click Cancel.
The system removes the people selected from the list of editors.
18. Click Proceed or Generate Query to run the query. If you want to cancel query creation, click Cancel. To return to the previous step, click Back.
When Proceed or Generate Query is clicked, the system displays the query results (see figure below).
19. Click Save to save the query data. If you do not want to save the query, click Cancel. To return to the previous step, click Back.
When Save is clicked, the system displays a window where a name and description for the query can be entered (see figure below).
20. In the Name field, enter a name to identify the purpose and reach of the query. This field is required and accepts a maximum of 50 characters.
21. In the Description field, enter the main characteristics of the query. This field accepts a maximum of 1,000 characters.
22. When finished, click Save Query. If you want to quit the operation, click Cancel.
The system displays a success message.