Dataset Viewer
Auto-converted to Parquet Duplicate
concept:name
stringlengths
9
35
events
int64
2
312k
faelle
int64
1
251k
anteil_user
float64
0
1
anteil_batch
float64
0
1
anteil_system
float64
0
1
warte_median_h
float64
0
814
warte_summe_h
float64
0
189M
faelle_anteil
float64
0
1
wiederholung_quote
float64
0
1
vorgaenger_regelhaftigkeit
float64
0.32
1
haeufigster_vorgaenger
stringlengths
9
35
manuell_events
int64
0
232k
start_quote
float64
0
1
konten
float64
0
245
top_konto_anteil
float64
0
1
einstufung
stringclasses
6 values
begruendung
stringlengths
47
161
Record Goods Receipt
312,312
234,227
0.728
0.272
0
36.25
43,413,930.3833
0.9315
0.054
0.3561
Vendor creates invoice
227,374
0
245
0.1977
Mensch
Wareneingang (physische Prüfung); 227.374 manuelle Buchungen auf 245 Konten
Create Purchase Order Item
251,463
251,463
0.9236
0.0764
0
10.9667
2,689,464.7667
1
0
0.8917
Create Purchase Requisition Item
232,240
0.7941
177
0.0701
Agent bereitet vor, Mensch entscheidet
ändert Geld/Menge/Zusage, 232.240 manuelle Events auf 177 Konten -> Agent entwirft, Mensch gibt frei
Record Invoice Receipt
226,943
211,113
0.9585
0.0415
0
169.7667
93,206,817.6
0.8395
0.0454
0.4922
Record Goods Receipt
217,515
0
28
0.18
Agent
unstrukturierte Eingabe (Rechnungsdokument des Lieferanten), 217.515 manuelle Events auf 28 Konten, Fehler fängt der 3-Way-Match ab
Vendor creates invoice
218,760
209,681
0
0
1
80.5833
42,851,547.1
0.8338
0.025
0.471
Create Purchase Order Item
0
0.0146
0
0
Extern
Schritt des Lieferanten, nicht im eigenen Prozess
Clear Invoice
193,597
183,416
0.959
0
0.041
796.55
189,143,914.0833
0.7294
0.0369
0.6943
Record Invoice Receipt
185,663
0
22
0.8928
Workflow (klären)
ein Benutzerkonto macht 89% der 185.663 Events -> vermutlich Schnittstelle oder zentrale Stelle; erst klären, kein Agent-Fall
Record Service Entry Sheet
163,427
5,566
0
0
1
0
73,477.25
0.0221
0.7402
0.8482
Record Service Entry Sheet
0
0
0
0
Workflow
läuft schon zu 100% ohne Menschen (Batch/System)
Remove Payment Block
57,070
55,809
0.7295
0.2705
0
101.175
21,185,675.15
0.2219
0.0197
0.6585
Record Invoice Receipt
41,633
0
10
0.4902
Agent bereitet vor, Mensch entscheidet
Abgleich Bestellung/Wareneingang/Rechnung (3-Way-Match) ist prüfbar; 27% löst schon ein Batch, 41.633 manuell -> Agent klärt Abweichung, Mensch gibt Zahlung frei
Create Purchase Requisition Item
46,582
46,582
0.7802
0.2198
0
696.0167
107,651.0833
0.1852
0
1
Vendor creates invoice
36,345
0.9986
226
0.2991
Mensch
Startschritt (100% der Fälle beginnen hier): Bedarf meldet ein Mensch
Receive Order Confirmation
32,058
32,054
0.8535
0.1465
0
1.5
514,473.2333
0.1275
0.0001
0.9618
Create Purchase Order Item
27,362
0
8
0.9524
Workflow (klären)
ein Benutzerkonto macht 95% der 27.362 Events -> vermutlich Schnittstelle oder zentrale Stelle; erst klären, kein Agent-Fall
Change Quantity
21,438
17,579
0.9999
0.0001
0
72.3
6,227,373.8333
0.0699
0.1406
0.5481
Create Purchase Order Item
21,436
0.0052
165
0.1688
Agent bereitet vor, Mensch entscheidet
ändert Geld/Menge/Zusage, 21.436 manuelle Events auf 165 Konten -> Agent entwirft, Mensch gibt frei
Change Price
12,367
11,189
1
0
0
66.85
3,005,755
0.0445
0.0769
0.5167
Create Purchase Order Item
12,367
0.0025
134
0.2203
Agent bereitet vor, Mensch entscheidet
ändert Geld/Menge/Zusage, 12.367 manuelle Events auf 134 Konten -> Agent entwirft, Mensch gibt frei
Delete Purchase Order Item
8,874
8,838
1
0
0
32.9667
2,109,192.45
0.0351
0.0041
0.7371
Create Purchase Order Item
8,874
0
136
0.0934
Mensch
ändert Geld/Menge/Zusage, nur 8.874 manuelle Events -> kein Business Case für einen Agenten
Change Approval for Purchase Order
7,474
4,360
1
0
0
4.9667
1,047,415.7833
0.0173
0.1968
0.4671
Create Purchase Order Item
7,474
0.0516
49
0.2719
Mensch
ändert Geld/Menge/Zusage, nur 7.474 manuelle Events -> kein Business Case für einen Agenten
Cancel Invoice Receipt
6,936
6,424
0.8958
0.1042
0
569.1
8,641,833.1167
0.0255
0.0623
0.3865
Record Invoice Receipt
6,213
0
17
0.3432
Mensch
ändert Geld/Menge/Zusage, nur 6.213 manuelle Events -> kein Business Case für einen Agenten
Vendor creates debit memo
6,133
5,940
0
0
1
121.9167
1,950,180.5333
0.0236
0.0251
0.3397
Create Purchase Order Item
0
0.0222
0
0
Extern
Schritt des Lieferanten, nicht im eigenen Prozess
Change Delivery Indicator
3,287
2,973
1
0
0
71.6083
804,018.9833
0.0118
0.0932
0.4066
Record Goods Receipt
3,287
0.0003
109
0.1089
Mensch
ändert Geld/Menge/Zusage, nur 3.287 manuelle Events -> kein Business Case für einen Agenten
Cancel Goods Receipt
3,046
2,454
0.8388
0.1612
0
19.2333
427,781.6167
0.0098
0.099
0.3156
Create Purchase Order Item
2,555
0.0003
105
0.108
Mensch
ändert Geld/Menge/Zusage, nur 2.555 manuelle Events -> kein Business Case für einen Agenten
SRM: In Transfer to Execution Syst.
1,734
1,425
0.0652
0.9348
0
0
262,170.5
0.0057
0.1502
0.7624
SRM: Document Completed
113
0
11
0.5841
Workflow
läuft schon zu 93% ohne Menschen (Batch/System)
Release Purchase Order
1,610
961
1
0
0
95.9
401,188.85
0.0038
0.2237
0.4723
Create Purchase Order Item
1,610
0.0137
20
0.277
Mensch
ändert Geld/Menge/Zusage, nur 1.610 manuelle Events -> kein Business Case für einen Agenten
SRM: Complete
1,602
1,425
0.1142
0.8858
0
0
0
0.0057
0.0954
0.7803
SRM: Change was Transmitted
183
0
11
0.235
Workflow
läuft schon zu 89% ohne Menschen (Batch/System)
SRM: Ordered
1,602
1,425
0
1
0
0
0
0.0057
0.0954
0.9569
SRM: In Transfer to Execution Syst.
0
0
0
0
Workflow
läuft schon zu 100% ohne Menschen (Batch/System)
SRM: Document Completed
1,602
1,425
0.1142
0.8858
0
0
0
0.0057
0.0954
0.9619
SRM: Complete
183
0
11
0.235
Workflow
läuft schon zu 89% ohne Menschen (Batch/System)
SRM: Created
1,602
1,425
0.1105
0.8895
0
232.4083
154,350.7
0.0057
0.0954
0.5
Vendor creates invoice
177
0.8489
10
0.2429
Workflow
läuft schon zu 89% ohne Menschen (Batch/System)
SRM: Awaiting Approval
1,602
1,425
0.1142
0.8858
0
0
939.8167
0.0057
0.0954
0.7678
Create Purchase Order Item
183
0
11
0.235
Workflow
läuft schon zu 89% ohne Menschen (Batch/System)
SRM: Change was Transmitted
1,425
1,425
0
1
0
0
0.8167
0.0057
0
0.8772
SRM: Awaiting Approval
0
0
0
0
Workflow
läuft schon zu 100% ohne Menschen (Batch/System)
Reactivate Purchase Order Item
543
529
1
0
0
15.5333
57,907.5
0.0021
0.0246
0.4438
Delete Purchase Order Item
543
0
51
0.2689
Mensch
ändert Geld/Menge/Zusage, nur 543 manuelle Events -> kein Business Case für einen Agenten
Block Purchase Order Item
514
499
1
0
0
742.5083
710,787.0667
0.002
0.0281
0.4903
Create Purchase Order Item
514
0
5
0.5253
Mensch
ändert Geld/Menge/Zusage, nur 514 manuelle Events -> kein Business Case für einen Agenten
Cancel Subsequent Invoice
490
475
1
0
0
177.4
169,002.2833
0.0019
0.0295
0.4592
Vendor creates debit memo
490
0
10
0.3367
Mensch
ändert Geld/Menge/Zusage, nur 490 manuelle Events -> kein Business Case für einen Agenten
Release Purchase Requisition
467
467
0.5803
0.4197
0
11.1
10,687.5333
0.0019
0
0.8308
Create Purchase Requisition Item
271
0
37
0.2878
Mensch
ändert Geld/Menge/Zusage, nur 271 manuelle Events -> kein Business Case für einen Agenten
Change Storage Location
415
364
1
0
0
48.55
56,581.65
0.0014
0.0824
0.581
Create Purchase Order Item
415
0.0337
56
0.2458
Mensch
nur 415 manuelle Events oder variabler Ablauf ohne prüfbares Ergebnis
Update Order Confirmation
244
227
0.9672
0.0328
0
47.3
26,658.1167
0.0009
0.0617
0.75
Receive Order Confirmation
236
0
5
0.8898
Mensch
nur 236 manuelle Events oder variabler Ablauf ohne prüfbares Ergebnis
SRM: Deleted
177
136
0
1
0
0
401.2667
0.0005
0.2353
0.452
Change Price
0
0
0
0
Workflow
läuft schon zu 100% ohne Menschen (Batch/System)
Record Subsequent Invoice
166
158
0.9699
0.0301
0
127.45
73,382.6167
0.0006
0.038
0.3554
Clear Invoice
161
0
9
0.2298
Mensch
nur 161 manuelle Events oder variabler Ablauf ohne prüfbares Ergebnis
Set Payment Block
123
121
1
0
0
814.2333
114,887.0667
0.0005
0.0165
0.8374
Record Invoice Receipt
123
0
6
0.5122
Mensch
ändert Geld/Menge/Zusage, nur 123 manuelle Events -> kein Business Case für einen Agenten
SRM: Transfer Failed (E.Sys.)
42
42
1
0
0
0
0.0167
0.0002
0
1
SRM: In Transfer to Execution Syst.
42
0
1
1
Workflow
feste Reihenfolge: 100% nach 'SRM: In Transfer to Execution Syst.'
Change Currency
35
35
1
0
0
95.1
9,542.0833
0.0001
0
0.9677
Create Purchase Order Item
35
0.1143
7
0.6286
Mensch
ändert Geld/Menge/Zusage, nur 35 manuelle Events -> kein Business Case für einen Agenten
Change Final Invoice Indicator
11
11
1
0
0
0
0.1167
0
0
0.5455
Change Delivery Indicator
11
0
2
0.9091
Mensch
ändert Geld/Menge/Zusage, nur 11 manuelle Events -> kein Business Case für einen Agenten
SRM: Transaction Completed
8
8
1
0
0
0
528.2
0
0
0.75
SRM: Ordered
8
0
5
0.25
Mensch
nur 8 manuelle Events oder variabler Ablauf ohne prüfbares Ergebnis
Change payment term
7
7
1
0
0
0
72.05
0
0
0.3333
Change Currency
7
0.1429
4
0.2857
Mensch
ändert Geld/Menge/Zusage, nur 7 manuelle Events -> kein Business Case für einen Agenten
SRM: Held
6
6
0
1
0
1.5083
9.0167
0
0
1
SRM: Created
0
0
0
0
Workflow
läuft schon zu 100% ohne Menschen (Batch/System)
SRM: Incomplete
6
6
0
1
0
0
0
0
0
1
SRM: Held
0
0
0
0
Workflow
läuft schon zu 100% ohne Menschen (Batch/System)
Change Rejection Indicator
2
1
1
0
0
35.7167
71.4333
0
1
0.5
Create Purchase Order Item
2
0
1
1
Mensch
ändert Geld/Menge/Zusage, nur 2 manuelle Events -> kein Business Case für einen Agenten

P2P Process Models (BPMN)

Two BPMN 2.0 models and the numbers behind them:

  1. As-is purchase-to-pay process, mined from the public BPI Challenge 2019 event log (1.6 million events), with a per-activity triage: human, workflow or agent.
  2. To-be "change pre-check" process: an assistant summarises a change, proposes a risk and submits it; only a human approves. The model runs in the open-source engine Flowable, and the engine itself blocks the agent from approving.

Published by Novaeon · Lab: https://novaeon.studio/lab/

Not affiliated with or endorsed by SAP, Salesforce or ServiceNow; trademarks belong to their owners.

Key numbers (from data/kennzahlen.json)

Fact Value
Raw log 1,595,923 events · 251,734 cases (purchase order items) · 42 activities
After time filter (cases fully within 2018-01-01 … 2019-01-31) 251,463 cases · 1,587,802 events
Record Invoice Receipt events 226,943, of which 217,515 recorded by user accounts (95.85 %; the log does not show whether a person or an interface used the account)
Payment block in 55,241 of 55,601 cases with goods receipt, invoice and block removal, the block was still in place when goods receipt and invoice were both booked (median time until removal afterwards: 5.4 days; amounts were not checked)
Triage 1 of 42 steps is a pure agent case (Record Invoice Receipt); 4 are "agent prepares, human decides", 12 workflow, 2 workflow (to be clarified), 21 human, 2 external. Steps that move money or create commitments stay with a human.
As-is BPMN Inductive Miner (noise threshold 0.2) on the 44 most frequent variants (79.8 % of cases); token-replay fitness 0.964 on a random sample of 20,000 cases; valid against the OMG BPMN 2.0 XSD
To-be BPMN in Flowable 8.0.0 16/16 checks passed (normal case; high risk routed to the CAB; every attempt of the agent to approve itself refused or without effect; prompt injection without effect)
Agent mining 4/4 real engine runs fit the to-be model (fitness 1.0); a constructed deviating case (pre-check skipped, approval by the agent) is detected as non-fitting

Files

Path Content License
models/ist-prozess.bpmn as-is P2P model (mined) CC BY 4.0
models/change-vorpruefung.bpmn to-be change pre-check model with lanes human / agent / system, executable in Flowable CC BY 4.0
models/change-vorpruefung-colored.bpmn same model with colours, used for rendering CC BY 4.0
graphics/*.svg, graphics/*.png process map (DFG), as-is BPMN, to-be BPMN, opportunity map CC BY 4.0
data/kennzahlen.json all key figures (volumes, throughput times, variants, rework, bottlenecks, effects, triage counts) CC BY 4.0
data/kanten.csv directly-follows edges with counts and waiting times CC BY 4.0
data/aktivitaeten_triage.csv per-activity statistics, triage class and reason (aggregates only, no account IDs) CC BY 4.0
data/agent_mining.json conformance results of the engine runs against the to-be model CC BY 4.0
data/agent_runs_log.csv event log of the 4 Flowable test runs (fictional lab users) CC BY 4.0
data/test-ausgabe.txt full output of the Flowable test run (16/16) CC BY 4.0
data/xsd-check.txt XSD validation result of both models CC BY 4.0
scripts/mining/xes_to_parquet.py XES → parquet conversion (stdlib + pandas) MIT
scripts/mining/mining.py key figures, triage, effects — imports PM4Py AGPL-3.0
scripts/mining/grafiken.py DFG, Inductive Miner BPMN, opportunity map — imports PM4Py AGPL-3.0
scripts/engine/agent_mining.py conformance check of engine runs — imports PM4Py AGPL-3.0
scripts/engine/agent.py rule-based pre-check agent as Flowable external worker (no language model) MIT
scripts/engine/flowable.py minimal Flowable REST client (stdlib) MIT
scripts/engine/test_proof.py the 16 engine checks MIT
scripts/bpmn/xsd_check.py validation against BPMN20.xsd (lxml) MIT
scripts/render/render.mjs, package.json headless rendering with bpmn-js MIT
scripts/graphviz.Dockerfile Graphviz image for the DFG MIT

Each script carries an SPDX header. License texts: LICENSE (CC BY 4.0 notice), LICENSE-MIT, LICENSE-AGPL-3.0.

Passwords in scripts/engine/*.py (rest-admin/test, lab-…) are throwaway values for a local in-memory Flowable container (rest-admin/test is the image default). Users such as cm-ben and cab-anna are fictional lab users.

How the engine enforces the human

  1. The agent is an external worker; it can only fetch and complete jobs of topic change-vorpruefung. Approval is a user task, not a job.
  2. A complete task listener checks inside the engine transaction that the current user belongs to the candidate group (cab or change-manager); otherwise the engine aborts.
  3. A create task listener resets entscheidung to "offen" when the approval task is created, so variables written earlier by the agent have no effect.
  4. Without a decision "genehmigt" or "abgelehnt" not even a human can complete the task.

The refusal currently surfaces as HTTP 500 with a clear message; production use would map it to 403.

Reproduce

Download BPI Challenge 2019 (BPI_Challenge_2019.xes, MD5 4eb909242351193a61e1c15b9c3cc814) from 4TU.ResearchData, then: xes_to_parquet.py → mining.py → grafiken.py. For part B start flowable/flowable-rest 8.0.0, deploy models/change-vorpruefung.bpmn, create users/groups, run engine/test_proof.py and engine/agent_mining.py. Tools: Python 3.12, PM4Py 2.7.23.13, pandas, lxml, Flowable 8.0.0, bpmn-js 18, Graphviz. Comments and activity labels of the to-be model are in German.

Limitations

  • Purchase-to-pay of one company (2018), not ITSM. The log has completion timestamps only, so effects are given in counts and waiting time, never in hours or money.
  • The triage combines data with openly marked assumptions (which steps move money, which inputs are unstructured, that goods receipt is physical).
  • Waiting time until Clear Invoice is mostly payment terms, not a process defect.
  • The agent in part B is rule-based; the guardrails sit in the engine and apply equally to a language-model agent.
  • Do not use the source log to rank or evaluate employees (EU AI Act Annex III no. 4(b); in Germany also works council co-determination). Account IDs were used only to recognise technical accounts and are not published.

Source and license

  • Source data: van Dongen, B. F. (2019). BPI Challenge 2019. 4TU.ResearchData. Dataset. https://doi.org/10.4121/uuid:d06aff4b-79f0-45e6-8ec8-e19730c248f1. License: CC BY 4.0.
  • Data, models and graphics here: CC BY 4.0. The as-is model, figures and statistics are derived from BPI 2019 by Novaeon (filtered, aggregated, mined); the original log is not redistributed. The to-be model is Novaeon's own work.
  • Scripts: MIT, except the three scripts importing PM4Py, which are AGPL-3.0 (see table).

Deutsch (Kurzfassung)

Zwei BPMN-2.0-Modelle mit Kennzahlen: der aus dem öffentlichen BPI-2019-Log gefundene Ist-Prozess Purchase-to-Pay und der Soll-Prozess „Change-Vorprüfung“ (Agent fasst zusammen, schlägt Risiko vor, reicht ein; freigeben darf nur ein Mensch), ausführbar in Flowable.

  • 226.943 Rechnungserfassungen, davon 217.515 durch Benutzerkonten.
  • In 55.241 von 55.601 Fällen mit Wareneingang, Rechnung und Sperr-Aufhebung lag die Zahlsperre noch, als beides gebucht war.
  • 1 von 42 Schritten ist ein reiner Agent-Fall; Schritte, die Geld bewegen, bleiben beim Menschen.
  • Flowable: 16/16 Prüfungen bestanden; die Engine verweigert jede Selbstfreigabe des Agenten.
  • Lizenz: Daten, Modelle und Grafiken CC BY 4.0 (abgeleitet aus BPI Challenge 2019, van Dongen, 4TU.ResearchData, CC BY 4.0). Skripte MIT; mining.py, grafiken.py und agent_mining.py importieren PM4Py und stehen unter AGPL-3.0.

Novaeon · https://novaeon.studio/lab/

Downloads last month
84