A Framework for Processing Textual Descriptions of Business Processes using a Constrained Language – Technical Report
Andrea Burattin, Antonio Grama, Ana-Maria Sima, Andrey Rivkin, Barbara Weber · 2025
Read A Framework for Processing Textual Descriptions of Business Processes using a Constrained Language – Technical Report by Andrea Burattin, Antonio Grama, Ana-Maria Sima, Andrey Rivkin, Barbara Weber (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2508-15799.txt.
Introduction
Andrea Burattin and co-authors let non-experts draw business processes by writing about them in a 2025 technical report. Formal process models, Petri nets and rule declarations, are precise but demand specialist training. Plain text is the opposite: anyone can write it, no machine can trust it. The report builds a bridge called BeePath.
Users write process descriptions in a constrained, pattern-based language, still readable as prose yet structured enough for automatic translation. The framework converts those texts into formal models such as Petri nets and DECLARE rule sets. For writers who start from free prose, large language models help recast loose descriptions into the constrained form. The goal is a two-way street: business people describe how work flows in near-plain words, and analysts receive models exact enough to check, simulate, and automate.
Catalog record
| CREATOR | Andrea Burattin, Antonio Grama, Ana-Maria Sima, Andrey Rivkin, Barbara Weber |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 36 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2508-15799
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
A Framework for Processing Textual Descriptions of Business Processes using a Constrained Language – Technical Report Andrea Burattin, Antonio Grama, Ana-Maria Sima, Andrey Rivkin, Barbara Weber Abstract This report explores how (potentially constrained) natural language can be used to enable nonexperts to develop process models by simply describing scenarios in plain text. To this end, a framework, called BeePath, is proposed. It allows users to write process descriptions in a constrained pattern-based language, which can then be translated into formal models such as Petri nets and DECLARE. The framework also leverages large language models (LLMs) to help convert unstructured descriptions into this constrained language. 1 Introduction Business processes are often described using natural language. However, natural language introduces ambiguities, inconsistencies, and interpretation gaps that hinder automation and formal verification. Existing process modeling approaches attempt to address these challenges through formal modeling languages, structured annotation techniques, or automated ambiguity resolution. However, these methods either require expertise in formal methods or risk distorting domain experts’ intent through rigid rules. Inspired by structured natural language paradigms such as FRETISH [ 7 , 8 ] (a language adopted in NASA’s Formal Requirement Elicitation Tool) and principles from Behavior-Driven Development (BDD), we introduce BeePath, a framework that allows domain experts to describe business processes in a structured, yet natural, way. Figure 1: The general pipeline of the BeePath framework. BeePath follows a two-step approach depicted in Fig. 1 : • Guided Natural Language Structuring: Users provide an initial free-text description of a process. This is then transformed into a constrained natural language format, ensuring key constraints and flow dependencies are made explicit, similar to how BDD ensures software behaviors are structured. • Model Generation (with Guarantees): The structured representation is parsed into multiple formal process models, including Petri nets and DECLARE, enabling formal reasoning and automation while maintaining alignment with the original textual intent. Large Language Models (LLMs) are used to assist in the guided natural language structuring, ensuring that process descriptions remain understandable to end users. This allows for human-in-the-loop validation, enabling domain experts to correct any misinterpretations by the LLM. Unlike fully automated approaches, BeePath maintains expert control over the formalization process, ensuring that the structured language output follows a deterministic mapping to process models. This algorithmic mapping prevents hallucinations and guarantees consistency in model generation. A similar approach is seen, for example, in Celonis’ LLM for PQL queries 1 1 1 See https://www.celonis.com/blog/celonis-brings-process-intelligence-to-every-business-user-with-llm-for-pql-generation/ . . This, however, requires the end-user to know the underlying formal language in order to validate the generated queries. 2 Constrained Natural Language for Process Specification In this section we are going to discuss the grammar of our process description language. We show how this grammar can be used to describe processes and how the obtained descriptions can be automatically translated into Petri nets [ 10 ] and DECLARE [ 3 ] . While the translation into BPMN is also supported in our implementation, it is not covered in this paper due to the page limit and similarity with the Petri net translation. 2.1 A Language for Describing Processes The process starts when the female patient is examined by an outpatient physician, who decides whether she is healthy or needs to undertake an additional examination. In the former case, the physician fills out the examination form and the patient can leave. In the latter case, an examination and follow-up treatment order is placed by the physician, who additionally fills out a request form. Furthermore, the outpatient physician informs the patient about potential risks. If the patient signs an informed consent and agrees to continue with the procedure, a delegate of the physician arranges an appointment of the patient with one of the wards and updates the HIS selecting the first available slot. If the patient denies consent the process ends. Before the appointment, the required examination and sampling is prepared by a nurse of the ward based on the information provided by the outpatient section. Then, a ward physician takes the sample requested. He further sends it to the lab indicated in the request form and conducts the follow-up treatment of the patient. After receiving the sample, a physician of the lab validates its state and decides whether the sample can be used for analysis or whether it is contaminated and a new sample is required. After the analysis is performed by a medical technical assistant of the lab, a lab physician validates the results. Finally, a physician from the outpatient department makes the diagnosis and prescribes the therapy for the patient. Figure 2: Textual description of the “Hospital process” from [ 17 ] . The designed process description language, called BeePath, serves as the foundation of the solution, enabling the users to describe processes using a constrained natural language which is much closer to unstructured natural language descriptions. Conceptually, BeePath relies on having a catalog of textual process description fragments available. These fragments can be instantiated several times to achieve the expected final model. We decided to leverage the well-known workflow patterns initiative [ 16 , 1 ] for our fragments. These are language-independent workflow structures that capture business characteristics in a generalized manner, making them applicable across various domains. 2 2 2 See http://www.workflowpatterns.com/patterns/control/ for more detail. Our primary goal with BeePath is not to be comprehensive of all possible fragments but rather to define a framework that can be easily extended to include more behavior. For this reason, in addition to the “Basic Control Flow Patterns” [ 1 ] , we introduced some additional fragments. To identify these fragments, we collected process descriptions from papers explicitly tackling the problem of modeling from natural language, and we ended up with three descriptions (two from [ 5 ] , and one from [ 17 ] – cf. Fig. 2 ). Similarly to pattern elicitation processes [ 9 ] , we started with only the Basic Control Flow Patterns, and we carefully inspected the process descriptions to find empirical evidence of new fragments. Given the low number of processes analyzed, we required each candidate fragment to appear once in order to be included on the list. After each new fragment was identified, the process descriptions were analyzed again until no new fragments could be recognized (i.e., saturation). Please note that the extra fragments identified are not meant to be new patterns (i.e., “reusable solution to a commonly occurring problem” [ 2 ] ). Instead, they are meant to show BeePath’s capability to express concepts beyond the Basic Control Flow Patterns. Figure 3: Graphical representation of the Hospital treatment description with the constraints highlighted. Full resolution at https://github.com/dtu-pa/beepath/tree/main/paper-material/hospital-description.pdf . Fig. 3 illustrates the identified fragments within the textual description from Fig. 2 . In the figure, different text segments are highlighted in colors corresponding to the fragments they represent, as indicated in the legend. Additionally, arrows are used to connect fragments and activities visually, enhancing the reader’s understanding. ⬇ 1 description : LEADINGTEXT initialStatement fragment + closingStatement ; 2 3 LEADINGTEXT : ’The following textual description follows the closed-world assumption, meaning that only...’ ; 4 initialStatement : ’Initially’ ’start’ ACTIVITY ; 5 closingStatement : ’After’ ( act_fragment ’ends’ 6 | act_fragment ’ends’ ( ’and’ act_fragment ’ends’ )+ 7 |