Filtering in QPR ProcessAnalyzer

From QPR ProcessAnalyzer Wiki
Revision as of 08:25, 5 November 2020 by Lasuusi (talk | contribs)
Jump to navigation Jump to search

Filters define a subset of cases and events in the process analysis model. This subset of data is used for all analysis. A filter consist of a list of filter rules, which are applied in the defined order. Cases/events are excluded if there is a single filter rule, that excludes the cases/events (AND type of logic, instead of OR logic).

Saving filters

You can save your filter selection by hovering your mouse over the filter dropdown menu (without clicking) and choosing "Save new filter" from below.

Savingfilters.png


This will propmt a pop-up window where you can name your filter and confirm your selection by clicking "Save". You can also define whether to set the filter to be published only to you (Private), everybody (Public), or if the filter is the default filter for the model (Default Public).

File:Filterprivacymode.png

Filter actions

Users with at least the Analyzer user rights can modify and delete the saved filters of a model. You can do this by opening the saved filter list, hovering your mouse over a saved filter and clicking on the three dots that appear on the right edge.

File:Filteroptions.png

When you go to the "Actions" tab you have the following options:

  • Delete: Delete this filter permanently.
  • Duplicate: Create a copy of this filter.
  • Replace: Replace this filter's rules with the selected rules in the header.
  • Export: Export this filter's rules to a file.
  • Import: Replace this filter's rules by importing new rules from a file.

File:Filteractions.png

Turning off Filter Rules

It's possible to turn off (disable) individual filter rules in a filter. When a filter rule is turned off, it's not applied, i.e. it doesn't have any effect on the calculation. The turned off filter rule is still preserved as part of the filter, and it's thus easy to turn the filter rule on again. This way, filter rules can be toggled on and off without removing them.

File:Filterruledisableing.png

Operations in Filter Properties

Clicking the Export... button gives you the option of exporting the filter to a .pacm file or the events to an Excel sheet. Note that when exporting a filter, only visible cases, events and attributes are included in the destination. That is, if the filter has any filter rules, then only cases, events and attributes visible for that filter will be exported.

Clicking the Save As New Model button will save the filtered data as a new model. Only the filtered cases, events and attributes are included to the new model.

Filter Rule Types

Following filter rule types are available:

  • Include/exclude cases based on case attribute values: For example, include only those cases where case attribute "Account Manager" is "Patricia White" or "Mary Wilson".
  • Include/exclude cases having certain event type(s): For example, include cases that have event types "Invoice Created" or "Invoice Paid" (either or both).
  • Include/exclude cases having certain flow(s): For example, include cases that have a flow from "Outbound Delivery" to "Handling unit". To match, there must not be other events between those two events.
  • Include/exclude cases based on case duration: For example, include cases the case duration is over 50 days. Case duration is the last event timestamp minus the first event timestamp.
  • Include/exclude cases based on flow duration: For example, include cases the flow from "Sales Order" to "Outbound Delivery" is over 5 weeks.
  • Include/exclude cases belonging to certain variation(s) (sequence of events): For example, include cases belonging to variation "Sales Order sent" -> "Invoice Created" -> "Invoice Paid".
  • Include/exclude cases having certain event attribute value(s): For example, include cases having event(s) with event attribute "Organization" is "Finance".
  • Include/exclude cases having certain part of variation: For example, include cases where variation starts with "Sales Order sent" -> "Invoice Created" -> "Invoice Paid".
  • Include/exclude event types: For example, include event types "Sales Order sent", "Invoice Created" and "Invoice Paid".

There are two kinds of filter rules: case filter rules and event type filter rule. Case filter rules filter out cases, and the number of cases decreases. The event type filters filter out events, so the number of cases doesn't decrease but the process flow in individual cases may change as event types are left out. Note that event type filter rules may filter out all events of a case, which results in cases that don't have events at all. It's not possible to show those cases in flowcharts or calculated durations for them.

A case has a Flow between events A and B means that the case has both events A and B and there are no other events between them. A case may have the same flow multiple times. Flow duration is the event B timestamp minus A timestamp. Note also that flows always has a direction: flow from A to B is different than flow from B to A.

Variation means a sequence of events that a case goes through. A case always belongs to a certain variation. If another case has different events or they are in different order, the case belongs to a different variation. Duration between events doesn't matter in terms of which variation a case belongs.