QPR ProcessAnalyzer BPMN Editor: Difference between revisions

From QPR ProcessAnalyzer Wiki
Jump to navigation Jump to search
Line 10: Line 10:


BPMN diagrams are created by dragging items from the tool palette. Start event, end event, task and gateways are the most used elements. When you add a BPMN task to the canvas, all event types are shown in a list next to the task, and an event type can be selected to match it with the created task. When the task is added, KPI values are calculated and shown in the blue background. When flows are added, KPI values are calculated and shown for them, too. By clicking the KPI in the top right legend, the KPI value is hidden, to make the BPMN diagram more readable if there are lots of items.
BPMN diagrams are created by dragging items from the tool palette. Start event, end event, task and gateways are the most used elements. When you add a BPMN task to the canvas, all event types are shown in a list next to the task, and an event type can be selected to match it with the created task. When the task is added, KPI values are calculated and shown in the blue background. When flows are added, KPI values are calculated and shown for them, too. By clicking the KPI in the top right legend, the KPI value is hidden, to make the BPMN diagram more readable if there are lots of items.
When you select a BPMN task, it suggest to create a filter. In the dropdown list you can select which type of filter is created. When you select a BPMN flow, it also suggest to create a filter.


=== KPI's Visualized on BPMN diagram===
=== KPI's Visualized on BPMN diagram===
Line 21: Line 23:
* '''Other events between''': Number of events that has occurred between the starting and ending event in the flow.
* '''Other events between''': Number of events that has occurred between the starting and ending event in the flow.


When you select a BPMN task, it suggest to create a filter. In the dropdown list you can select which type of filter is created. When you select a BPMN flow, it also suggest to create a filter.
=== Filtering Conformant and Nonconformant Cases ===
You can create a filter for the conforming cases or nonconforming cases based on the current BPMN diagram, by selecting '''Include conforming cases''' or '''Include nonconforming cases''' from the BPMN diagram's context menu.


There are the following additional functionalities available in the context menu:
=== Auto-creating BPMN Model ===
* You can create a filter for the conforming cases or nonconforming cases based on the current BPMN diagram, by selecting '''Include conforming cases''' or '''Include nonconforming cases''' from the BPMN diagram's context menu.
* By clicking '''Create Tasks and Flows''' will create a design model that is effectively the same as the as-is model. Thus, the as-is model will conform perfectly to the design model. After the tasks and flows are created, you can edit the design model and remove the events and flows that shouldn't occur in the process. Note however, that the amount of flows that is created can easily be overwhelming. To overcome this, you can first use the flowchart to filter out those events and flows that shouldn't occur in the process, then use the "Create Tasks and Flows" option. Then, after creating the design model, you can remove the filter to check the conformance of the whole model.
* By clicking '''Create Tasks and Flows''' will create a design model that is effectively the same as the as-is model. Thus, the as-is model will conform perfectly to the design model. After the tasks and flows are created, you can edit the design model and remove the events and flows that shouldn't occur in the process. Note however, that the amount of flows that is created can easily be overwhelming. To overcome this, you can first use the flowchart to filter out those events and flows that shouldn't occur in the process, then use the "Create Tasks and Flows" option. Then, after creating the design model, you can remove the filter to check the conformance of the whole model.
* By clicking '''Create Tasks Only''' will generate only the tasks without any flows. The result is a model that needs to be filled with flows to be a valid design model.
* By clicking '''Create Tasks Only''' will generate only the tasks without any flows. The result is a model that needs to be filled with flows to be a valid design model.
* You can delete the current diagram and start from an empty canvas by selecting '''Delete diagram''' from the BPMN diagram's context menu.
* You can delete the current diagram and start from an empty canvas by selecting '''Delete diagram''' from the BPMN diagram's context menu.
* You can export the BPMN diagram contents as a flat list by clicking the '''Export all BPMN elements as CSV'''.
* You can export a list of BPMN elements in the order that they appear in the flow by clicking the '''Export element order'''.


=== Reports Selectable in BPMN diagram ===
=== Reports Selectable in BPMN diagram ===
Line 37: Line 37:
* '''Task occurrences across time''' (select 1 task)
* '''Task occurrences across time''' (select 1 task)
* '''Task repetition in cases''' (select 1 task)
* '''Task repetition in cases''' (select 1 task)
* You can export the BPMN diagram contents as a flat list by clicking the '''Export all BPMN elements as CSV'''.
* You can export a list of BPMN elements in the order that they appear in the flow by clicking the '''Export element order'''.


== Design Model Selector ==
== Design Model Selector ==

Revision as of 17:56, 10 January 2021

This page describes components that are used for editing BPMN model and viewing conformance analysis results.

BPMN Editor

The BPMN Editor analyzes process mining data with the help of a designed BPMN process model. You can for example:

  • See process mining KPI's and statistics calculated on the fly top of the BPMN diagram during the modeling the BPMN
  • Run conformance analysis using the designed BPMN model
  • Filter data directly from the BPMN diagram

The BPMN diagram can be drawn from scratch or imported from a BPMN 2.0 XML file. The ready diagram can be exported to a BPMN 2.0 XML file.

BPMN diagrams are created by dragging items from the tool palette. Start event, end event, task and gateways are the most used elements. When you add a BPMN task to the canvas, all event types are shown in a list next to the task, and an event type can be selected to match it with the created task. When the task is added, KPI values are calculated and shown in the blue background. When flows are added, KPI values are calculated and shown for them, too. By clicking the KPI in the top right legend, the KPI value is hidden, to make the BPMN diagram more readable if there are lots of items.

When you select a BPMN task, it suggest to create a filter. In the dropdown list you can select which type of filter is created. When you select a BPMN flow, it also suggest to create a filter.

KPI's Visualized on BPMN diagram

The following KPI's are shown:

  • Cases having task: Number of cases in the process mining data, that have this task (=event type).
  • Task occurred: Number of times this type of event has occurred in the process mining data. This number is the same or larger than the Cases having task count. If it's larger, the event has occurred more than once in a case (looping, repetition).

Flow has a different meaning in the BPMN diagram than in the traditional process mining diagram. In the process mining diagram, a flow is direct transition between two events. This means that no other event has occurred between the start and end event of the flow. In the BPMN diagram. KPI's for flows:

  • Flow median duration: Median duration from the task event of the flow to the end event of the flow.
  • Flow occurred: Number of times the flow has occurred in all cases. The BPMN flow occurs when in the case there occurs the starting event and that is followed by the end event at any point in the case.
  • Other events between: Number of events that has occurred between the starting and ending event in the flow.

Filtering Conformant and Nonconformant Cases

You can create a filter for the conforming cases or nonconforming cases based on the current BPMN diagram, by selecting Include conforming cases or Include nonconforming cases from the BPMN diagram's context menu.

Auto-creating BPMN Model

  • By clicking Create Tasks and Flows will create a design model that is effectively the same as the as-is model. Thus, the as-is model will conform perfectly to the design model. After the tasks and flows are created, you can edit the design model and remove the events and flows that shouldn't occur in the process. Note however, that the amount of flows that is created can easily be overwhelming. To overcome this, you can first use the flowchart to filter out those events and flows that shouldn't occur in the process, then use the "Create Tasks and Flows" option. Then, after creating the design model, you can remove the filter to check the conformance of the whole model.
  • By clicking Create Tasks Only will generate only the tasks without any flows. The result is a model that needs to be filled with flows to be a valid design model.
  • You can delete the current diagram and start from an empty canvas by selecting Delete diagram from the BPMN diagram's context menu.

Reports Selectable in BPMN diagram

There are also following reports available:

  • Duration distribution between tasks (select 2 tasks)
  • Flow duration distribution (select 1 flow)
  • Task occurrences across time (select 1 task)
  • Task repetition in cases (select 1 task)
  • You can export the BPMN diagram contents as a flat list by clicking the Export all BPMN elements as CSV.
  • You can export a list of BPMN elements in the order that they appear in the flow by clicking the Export element order.

Design Model Selector

In addition to the BPMN Editor, there is also a Design Model Selector component available, which adds a button to the dashboard for opening an overlay BPMN editor. The Design Model Selector is better when there is no space in the dashboard to show the BPMN model.

The Design Model Selector validates the BPMN model when the editor is closed, so invalid BPMN models cannot be saved.

Conformance Statistics

Conformance Statistics visualization shows an overview of how many cases are conformant and nonconformant (both as absolute case count and percentage of total cases). In addition, the Conformance Statistics visualization shown average duration of cases and average number of events per case in both the conformant and nonconformant cases groups. The used BPMN model is stored in the designModel variable in the context of the conformance statistics visualization.