Filtering the task list and case list
In the Eximee Dashboard, it is possible to filter data on the task list and case list.
Basic filtering
The filtering mechanism for the task list and case list allows tasks to be searched by the process variable SEARCH_STRING. Multiple fields can be passed to the variable combined into a single string (e.g. separated by commas), which allows searching data by a fragment of the value. The filter works based on the operator LIKE known from SQL.
The value of the variable SEARCH_STRING should contain all data by which the user should be able to search.
Sample script setting the value for the variable SEARCH_STRING:
def submittedLeads = execution.getVariable("submittedLeads")
def rejectedLeads = execution.getVariable("rejectedLeads")
def businessKey = execution.getVariable("start.formInstanceNumber")
def lead = execution.getVariable("Lead")
def cif = execution.getVariable("CIF_Klienta")
def time = execution.getVariable("Czas_lokalny")
def modSkp = execution.getVariable("SKP_Wypełniającego")
def skp = execution.getVariable("SKP_doradcy_portfelowego")
def branchSkp = execution.getVariable("Oddział_zgłaszającego")
def dashboardParams = [
"Application number" : businessKey,
"Selected leads" : lead,
"Customer CIF" : cif,
"Application submission time" : time,
"Filling SKP" : modSkp,
"Portfolio advisor SKP" : skp,
"Branch SKP" : branchSkp,
"Submitted leads" : submittedLeads,
"Rejected leads" : rejectedLeads
]
searchString = businessKey + "," +
cif + "," +
time + "," +
modSkp + "," +
kp + "," +
branchSkp
execution.setVariable("PROCESS_DASHBOARD_DESCRIPTION", "Lead Process")
execution.setVariable("PROCESS_DASHBOARD", dashboardParams)
execution.setVariable("SEARCH_STRING", searchString)In the above example, searching will be possible, among others, by:
application number,
customer CIF,
submission time,
SKP identifiers.
The basic search filter is in the upper left corner (the field with the "magnifying glass"). Example of filtering the case list by the branch SKP number:

For the filter to work properly, the variable SEARCH_STRING must be added to the process variables.
Filters are saved in the URL, allowing a link with set filters to be shared with other users and filters to be changed from the URL.
Advanced filtering
The advanced filtering feature is marked with the symbol: ![]()
Task list
Available filtering parameters:
Case status
Filtering by the businessStatus variable.
Multi-select field.
The list of available values is controlled by the variable FILTER_TASK_STATUSES.
Person assigned to the task
Available options:
all tasks,
only my tasks,
only unassigned tasks,
tasks of selected users (search after at least 3 characters, multiple users can be selected).
Task creation date
Ability to specify a date range (from – to).
Case type
Filtering by variable processDefinitionKey.
Multi-select field.
The list of values is controlled by the variable FILTER_PROCESS_TYPES.
Case ID
Filtering by the businessKey variable.
Search works based on the operator
LIKE.

Case list
Available filtering parameters:
Case status
Filtering by variable businessStatus.
Multi-select field.
The list of values is controlled by the variable FILTER_PROCESS_STATUSES.
Case type
Filtering by variable processDefinitionKey.
Multi-select field.
The list of values is controlled by the variable FILTER_PROCESS_TYPES.
Case ID
Filtering by variable businessKey.
Search works based on the operator
LIKE.

Last updated
Was this helpful?
