Report Filters are filters that may be applied to specific attributes within a process that limit the amount of data to be returned. The filter may be applied to key attributes of a given task such as an answer to a question on a form, the current status of a request (Last Milestone), the status of task, or even on a recipient of a given task.
In this section we will discuss:
- Adding filters to a report
- Exposing filters
- Bitwise Operators (and/or)
- Grouping Filters
To add a new filter to your report, navigate to the Filters tab. You will be presented with a list of all filters current saved for that particular report:
To add a new filter to a report, select the Add Filter button and you will be presented with the following dialog:
Similar to adding columns, you will have various options with which to select Source data from within the process to filter on.
The dialog will be dynamic based on the Source option you select. For instance, if you were to select Request as the source then the dialog will change and present you with a list of available attributes about a Request:
The following is a high-level break down of each available Source:
|Data||The Data option will enable you to select any data associated with a given task.
When the Data option is selected, a secondary drop-down list of available tasks will be presented.
Depending on the type task selected, the available data elements will vary. For a Form task, it is possible to select data from the questions submitted on a form, for an Approval task you may retrieve the approval option a user selected when the task was completed, etc.
|Requester||Profile information associated with the Requester of the process such as name, division, cost center, location, etc.|
|Client||Profile information associated with the Client of the process such as name, division, cost center, location, etc.|
Profile information associated with the person who completed a specific task within the process. You will need to select both the task and the profile attribute you would like displayed.
Profile information associated with the person who was a recipient of a specific task within the process. You will need to select both the task and the profile attribute you would like displayed.
|Requesters Manager||Profile information associated with the Requester’s Manager of the process such as name, division, cost center, location, etc.|
|Client’s Manager||Profile information associated with the Client’s Manager of the process such as name, division, cost center, location, etc.|
|Task Completers Manager||Profile information associated with the manager of a person who completed a specific task within the process. You will need to select both the task and the profile attribute you would like displayed.|
|Task Recipients Manager||Profile information associated with the manager of a person who was a recipient of a specific task within the process. You will need to select both the task and the profile attribute you would like displayed.|
|Request||High-level data associated with an overall request such as the request id, the date started, date completed, last milestone, last milestone date, etc.|
(for Task reports only)
|High-level data associated with a specific task in the process such as the task name, date started or completed, name, and task status.|
(for Task reports only)
|Option to get to data via a generic identifier (Label, ID, Property). If you want to pull back any data associated with the known ID (i.e. question ID or form ID), then you can use this.|
(for Task reports only)
|Option to define the attributes for the current task. Commonly used to view how many tasks are assigned to users, total counts of tasks, time between task assignments and completions, etc.|
Once you have selected the item from the Field list, defined the Operator, and a Value, press the Save button and the new filter will be added to the filter list:
In the example above, we are restricting the results of the report to retrieve data only from requests where the Last Milestone is equal to the valueApproved.
Expose Filter Labels
If you want the user that runs the report to have the ability to define the filter, select the Expose Filter Label field for the filter you want to expose and give it a name (label).
When running the report, the exposed filter will give the user to edit the filter. In this example, we are allowing the user to change the 'Last Milestone' field to get the view he/she desires:
NOTE: If you blank out an exposed filter at runtime, the provided default value will be used.
Bitwise Operators (And/Or)
It is possible to create a report that will retrieve various elements of process data based on multiple types of filters. When this happens it is often necessary to employee the user of the bitwise operators for restrict or open the range of data you would like to retrieve.
To change the bitwise operator, add more than one filter to your report and select the And/Or column next to filter:
By default, the bitwise operator will always be AND but, as in the case above, you may want to change it to OR. This way, we can retrieve data from requests with two different filters.
For complex filtering scenarios it is possible to group a series of filters to evaluate together when the report is executing.
To group a series of filters, click in the column marked with an open parentheses where you would like to start the filter and add an open parentheses.
To end your grouping, simply click in the closed parentheses column to the right of a filter and add a closing parentheses.
Last Updated on Monday, 04 November 2013 10:04