QPR ProcessAnalyzer BPMN Editor: Difference between revisions
(20 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
The ''' | This page describes components that are used for editing BPMN models and viewing conformance analysis results. Note that for dashboards that use BPMN and conformance functionality, you need to create a variable '''designModel''' with behavior ''Stored'' (in the ''Dashboard Properties'' in ''Variables'' tab), so that the dashboard is able to store the defined BPMN model. Note also that the BPMN editor only allows to add BPMN elements that are supported by the conformance checking functionality. | ||
== 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 | * 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 | * Run conformance analysis using the designed BPMN model | ||
Line 6: | Line 9: | ||
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. | 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. | |||
You can create a filter to get only the conforming or nonconforming cases based on the current BPMN model by selecting '''Include conforming cases''' or '''Include nonconforming cases''' from the context menu. | |||
=== KPI's on BPMN Diagram=== | |||
The following KPI's are shown: | The following KPI's are shown: | ||
* '''Cases having task''': Number of cases in the process mining data, that have this task (=event type). | * '''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). | * '''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 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. Following KPI's for flows are shown for in-memory models (there are no flow KPI's for Snowflake models): | ||
* '''Flow median duration''': Median duration from the task event of the flow to the end event of the flow. | * '''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. | * '''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. | * '''Other events between''': Number of events that has occurred between the starting and ending event in the flow. | ||
=== Auto-creating and Deleting BPMN Models === | |||
Following functions are available in the BPMN Editor context menu: | |||
* '''Auto-create tasks and flows''' will create a BPMN model that is 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 filter out those events and flows that shouldn't occur in the desired process and then use the auto-create. After creating the design model, you can remove the filter to check the conformance of the whole model. Note that due to performance reasons, the number of flows in the auto-generated model is limited to 1000. | |||
* '''Auto-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 BPMN model. | |||
* '''Delete diagram''' will delete the current diagram and start from an empty canvas. | |||
=== Reports Selectable in BPMN Diagram === | |||
There are also following reports available for in-memory models: | |||
There are also following reports available: | |||
* '''Duration distribution between tasks''' (select 2 tasks) | * '''Duration distribution between tasks''' (select 2 tasks) | ||
* '''Flow duration distribution''' (select 1 flow) | * '''Flow duration distribution''' (select 1 flow) | ||
* '''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 == | ||
Line 39: | Line 44: | ||
The Design Model Selector validates the BPMN model when the editor is closed, so invalid BPMN models cannot be saved. | 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 deviating (both as absolute case count and percentage of total cases). In addition, the Conformance Statistics component shown average duration of cases and average number of events per case in both the conformant and deviating cases groups. The used BPMN model is stored in the ''designModel'' variable in the context of the conformance statistics visualization. | |||
[[Category: QPR ProcessAnalyzer]] | [[Category: QPR ProcessAnalyzer]] |
Latest revision as of 17:41, 1 June 2023
This page describes components that are used for editing BPMN models and viewing conformance analysis results. Note that for dashboards that use BPMN and conformance functionality, you need to create a variable designModel with behavior Stored (in the Dashboard Properties in Variables tab), so that the dashboard is able to store the defined BPMN model. Note also that the BPMN editor only allows to add BPMN elements that are supported by the conformance checking functionality.
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.
You can create a filter to get only the conforming or nonconforming cases based on the current BPMN model by selecting Include conforming cases or Include nonconforming cases from the context menu.
KPI's 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. Following KPI's for flows are shown for in-memory models (there are no flow KPI's for Snowflake models):
- 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.
Auto-creating and Deleting BPMN Models
Following functions are available in the BPMN Editor context menu:
- Auto-create tasks and flows will create a BPMN model that is 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 filter out those events and flows that shouldn't occur in the desired process and then use the auto-create. After creating the design model, you can remove the filter to check the conformance of the whole model. Note that due to performance reasons, the number of flows in the auto-generated model is limited to 1000.
- Auto-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 BPMN model.
- Delete diagram will delete the current diagram and start from an empty canvas.
Reports Selectable in BPMN Diagram
There are also following reports available for in-memory models:
- 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 deviating (both as absolute case count and percentage of total cases). In addition, the Conformance Statistics component shown average duration of cases and average number of events per case in both the conformant and deviating cases groups. The used BPMN model is stored in the designModel variable in the context of the conformance statistics visualization.