October 19, 2026
Application of Process Mining in Project Management Incentivized by the Lei do Bem
Application of Process Mining in Project Management Incentivized by the Good Law
Ricardo Frade Brandão; Enise Aragão Dos Santos
DOI: 10.22167/2675-6528-202601366
Article prepared by the ResumeAI tool, an artificial intelligence solution developed by the Pecege Institute focused on synthesis and writing.
Summary
The management of Research, Development, and Innovation (R&D&I) projects incentivized by the Lei do Bem presents complexity due to multiple stages and control requirements. The study’s objective was to apply Process Mining techniques to analyze the execution flow of these projects and identify improvement opportunities. For this purpose, a representative event log of 100 real projects, extracted from corporate systems, was used. This log was pre-processed and analyzed with the Alpha Miner and Heuristics Miner algorithms, using the PM4Py library in Python. The results showed the occurrence of rework in review and approval stages, as well as the concentration of significant time in document analysis and internal validation activities. The average project duration was approximately 58 days, which allowed the identification of bottlenecks, such as fiscal/legal approval and document review. Optimization scenarios were evaluated, indicating potential efficiency gains with reduced time in critical activities, and a linear programming model was applied to project selection, maximizing fiscal benefit. It was concluded that Process Mining proved to be an effective tool for increasing transparency, improving stage control, and supporting decision-making in the management of incentivized projects, making the process more efficient and aligned with organizational objectives.
Keywords: Operational efficiency; Process flow; Innovation; Optimization; Decision-making.
1. Introduction
The management of Research, Development, and Innovation (R&D&I) projects represents a fundamental pillar for the competitiveness and sustainability of organizations in the contemporary global economic landscape. The ability to innovate and efficiently manage the R&D&I project lifecycle is a strategic differentiator, driving growth and adaptation to market demands. In Brazil, the Lei do Bem (Law nº 11.196/2005) was established as a crucial instrument to foster private investment in technological innovation, granting tax benefits to companies that carry out R&D&I activities (Brazil, 2005). However, the operationalization of these projects is intrinsically complex, involving multiple stages, the coordination of various functional areas, and strict adherence to legal and documentary requirements, which demands rigorous control and transparent management to ensure compliance and full utilization of incentives.
In this context of procedural complexity, Process Mining emerges as a promising discipline, offering tools and techniques to analyze and visualize the actual flow of activities based on event logs from information systems. Unlike traditional process management approaches, which often rely on ideal or documented models, Process Mining allows for the discovery of real process behavior, verification of compliance with predefined models, and performance analysis (Aalst, 2016). This ability to extract knowledge from empirical data is vital for identifying inefficiencies, bottlenecks, and deviations that would not be noticeable through conventional methods. Algorithms such as Alpha Miner and Heuristics Miner, for example, are employed to build process models from data, enabling graphical representation and quantitative analysis of interactions between activities, even in scenarios with noise and variations (Dumas et al., 2018).
Despite the strategic importance of innovation and tax incentives, the management of Research, Development, and Innovation (R&D&I) projects is often marked by operational challenges that compromise efficiency and effectiveness. Studies in project management indicate that a significant portion of innovation initiatives face delays and budget overruns, often due to a lack of visibility into the actual workflow and the occurrence of rework (Silva and Souza, 2024). In complex contexts, such as projects incentivized by the Lei do Bem (Law for Good), the multiplicity of stages, the interdependence between areas, and the rigorous legal compliance requirements amplify the probability of bottlenecks and deviations. The absence of a clear understanding of operational processes can lead to suboptimal decisions and the loss of optimization opportunities, negatively impacting the utilization of tax benefits and organizational competitiveness (Santos and Portela, 2023). The literature has consistently shown that business process management often lacks visibility into the actual workflow, which can lead to significant inefficiencies.
Given the complexity inherent in managing R&D projects incentivized by the Lei do Bem and the potential of Process Mining to reveal the real behavior of processes, this study is justified by the need to improve operational efficiency and decision-making in these initiatives. The application of Process Mining techniques offers an innovative approach to increase transparency, identify bottlenecks and rework, and optimize the execution flow, contributing to the more effective use of resources and the maximization of tax benefits. Thus, the objective of this work was to apply Process Mining techniques to analyze the execution flow of Research, Development, and Innovation projects incentivized by the Lei do Bem and identify improvement opportunities, aiming to enhance management and alignment with the strategic objectives of organizations.
2. Material and Methods
The research was characterized as applied and exploratory, seeking to generate practical knowledge for solving specific problems in the management of Research, Development, and Innovation (R&D&I) projects. The exploratory approach allowed the investigation of a complex phenomenon, process mining in projects incentivized by the Tax Incentive for Innovation Law, with the objective of identifying patterns and improvement opportunities. This type of study is fundamental for a deep understanding of real organizational processes, according to the specialized literature in project management and innovation.
The study was conducted using real data from the execution of R&D projects incentivized by the Tax Incentive for Innovation Law (Lei do Bem), extracted from the corporate systems of a large industrial organization. The unit of analysis consisted of an event log, which is a sequential record of activities that occurred in a process, containing essential information for process mining. Each event in the log included the unique project identification (case_id), the description of the executed activity, the date and time record (timestamp), and the person responsible for its execution, allowing the reconstruction of the actual workflow.
The study sample comprised 100 Research, Development, and Innovation projects, all incentivized by the Lei do Bem (Good Law), which were selected by convenience from the records available in the corporate systems. These projects represented the universe of R&D initiatives managed by the organization, providing a robust dataset for analysis. Each project in the sample was detailed by a set of 18 distinct activities, which mapped the complete execution cycle, from initiation to completion, as recorded in the event logs.
The data were collected by extracting event logs from the company’s internal corporate systems, specifically those used for R&D project management. This procedure ensured that the information reflected real behavior and interactions between activities, without the interference of theoretical or documented models. The event log, as a collection instrument, provided the empirical basis necessary for the application of process mining techniques, capturing the temporal sequence and attributes of each activity.
The research execution began with a rigorous stage of pre-processing the raw data extracted from the corporate systems. This phase included standardizing the event log columns to ensure consistency of attributes, such as case identification, activity name, and timestamp. Additionally, the temporal records were converted to a suitable format, essential for the sequential and temporal analysis of activities, ensuring the integrity and quality of the data for the subsequent mining steps.
The analyses were developed in the Google Colab environment, a cloud-based platform that allowed the implementation and execution of process mining algorithms in Python. For the discovery of process models, the PM4Py library (PM4Py Documentation, 2024) was employed, a widely recognized tool in the field. Specifically, the Alpha Miner and Heuristics Miner algorithms were used, which are suitable for different characteristics of event logs and noise levels in the data.
The discovery of process models was carried out with the application of Alpha Miner, which allowed the identification of direct precedence relationships between activities, revealing the fundamental structure of the workflow (Aalst, 2016). Complementarily, the Heuristics Miner was used, a more robust algorithm for handling event logs containing noise and variations, focusing on the frequency of transitions between activities to build a process model more representative of real behavior (Dumas et al., 2018).
In addition to discovering the patterns, detailed quantitative analyses were performed on the performance of the processes. Using the Pandas library, the average total execution time of the projects was calculated, as well as the time between specific activities to identify bottlenecks. Rework detection was done by analyzing the repetition of activities within the same case, and the most frequent transitions between stages were mapped to understand the predominant paths in the workflow.
To complement the analysis, optimization scenarios were evaluated, with the purpose of estimating potential efficiency gains. This stage involved simulating the reduction of times in activities identified as critical, allowing the projection of the impact of these improvements on the total duration of the projects. Additionally, a linear programming model was applied for project selection, considering budget, time, and capacity constraints, aiming to maximize the expected fiscal benefit. A heuristic approach based on Simulated Annealing was also employed to validate the robustness of the optimization solutions.
In compliance with ethical research principles, all data used were rigorously treated to ensure the anonymization of information. This procedure was essential to preserve the confidentiality of projects and organizational operations, ensuring that no sensitive data could be traced to specific individuals or projects. Anonymization reinforced the commitment to privacy and information security, a crucial aspect in studies involving corporate data.
To ensure the transparency and reproducibility of the results, the complete detailing of the source code developed for data processing, the application of process mining algorithms, and the optimization modeling was made available. This material, presented in Annex A, allows other researchers and professionals to replicate the analyses and verify the methodological procedures adopted, contributing to the external validity and reliability of the study.
3. Results and Discussion
The application of process mining to a real-world dataset, comprising 100 Research, Development, and Innovation (R&D&I) projects incentivized by the Lei do Bem (Good Law), revealed crucial insights into workflow and operational performance. The event log, totaling 1,168 records, provided a robust empirical basis for detailed analysis of activity execution, enabling a deep understanding of the actual behavior of organizational processes. This volume of data is significant, as it confers high internal validity to the findings, reflecting a comprehensive overview of the R&D&I operations of the studied organization. The richness of detail in each event – including project identification, activity description, temporal record, and responsible party – was fundamental for the precise reconstruction of flows and the identification of patterns, bottlenecks, and deviations.
The initial phase of the analysis involved applying the Alpha Miner and Heuristics Miner algorithms, essential tools in process mining, which enabled the discovery of the underlying process models from the data. The generated models showed that the actual execution flow of R&D projects presents significant variations compared to theoretical or idealized models. The occurrence of alternative paths, repeated activities, and operational deviations that would not be easily detectable through traditional process mapping methods was observed. This finding is in full agreement with the perspective of Aalst (2016), one of the pioneers of process mining, who argues that real processes are inherently more complex, dynamic, and less structured than formal representations. Complexity arises from factors such as human discretion, interaction with legacy systems, the need for adaptation to changing requirements, and the influence of unforeseen external events. In R&D projects, this complexity is amplified by the exploratory and uncertain nature of innovation, where excessive rigidity can inhibit creativity and experimentation. Identifying these variations is a critical step for management, as it allows the organization to recognize and manage operational reality, rather than relying on idealizations that can lead to unrealistic expectations and planning failures.
The performance analysis quantified the average project duration at approximately 57.8 days, calculated from the interval between the first and last recorded event for each case. This result, while providing a central metric, also underscores the existence of significant temporal variation among projects. The dispersion of execution times, even in projects following a structured framework like those incentivized by the Lei do Bem, indicates that there are significant opportunities to improve process control and standardization. High variability in project times can negatively impact strategic planning, resource allocation, and the organization’s ability to meet deadlines and take advantage of tax benefits in a timely manner. Predictability is a valuable attribute in project management, and process mining offers the basis for understanding the causes of this variability, whether through the identification of bottlenecks, rework, or inefficiencies in transitions. Project management literature, such as Kerzner (2017), frequently emphasizes the importance of managing time as a critical resource, and the ability to reduce variance in project duration can lead to substantial gains in efficiency and competitiveness.
The evaluation of the average time between activities was fundamental to identify the main bottlenecks of the process, as detailed in Table 1.
Table 1. Average time per activity in the analyzed process
|
Activity |
Average time (days) |
|
Fiscal/legal approval |
6,87 |
|
Document review |
6,74 |
|
Technical execution start |
6,74 |
|
Accounting audit and closing |
5,12 |
|
Technical analysis |
4,85 |
|
Project submission |
3,20 |
|
Submission to MCTI |
2,95 |
Source: Elaborated by the author (2026)
As presented in Table 1, the activities that demanded the longest average time were “Fiscal/legal approval” (6.87 days), “Document review” (6.74 days), and “Start of technical execution” (6.74 days). These stages represent critical points in the workflow, concentrating the longest waiting times and directly impacting the total project duration. “Fiscal/legal approval” is a notoriously complex stage in projects incentivized by the “Lei do Bem” (Good Law), given the need for compliance with specific and constantly updated legislation. Delays in this phase can be attributed to the need for validation by multiple departments (legal, fiscal, accounting), the interpretation of complex regulations, and the requirement for detailed, audit-proof documentation. Literature on project management in regulated environments, such as Pinto (2016), highlights that bureaucracy and the need for compliance can be significant sources of delays, requiring robust validation processes that, if not efficient, become bottlenecks.
The “Document Review”, in turn, reflects the intensity of the demand for quality and precision in R&D documentation. In innovation projects, documentation serves not only for record-keeping but also as evidence for tax eligibility and intellectual property protection. The extent of time spent on this activity may indicate the need for multiple review cycles, a lack of standardization in document templates, or the absence of efficient collaboration tools that streamline the feedback and approval process. Information and knowledge management is a fundamental pillar for innovation, and inefficiency in document review can compromise the agility and quality of projects, as pointed out by Nonaka and Takeuchi (1995) in their studies on organizational knowledge creation.
The “Start of technical execution” as a bottleneck suggests challenges in transitioning from planning to implementation. This delay can be caused by difficulties in allocating resources (human, material, financial), obtaining final internal approvals, or coordinating between R&D teams and other functional areas. The initiation phase of a project, although often underestimated, is crucial for its success, as it defines the scope, resources, and expectations. Delays in this stage can create a ripple effect throughout the project timeline, increasing risks and costs. This finding reinforces the importance of process mining in identifying operational inefficiencies, as highlighted by Dumas et al. (2018), who emphasize how visualizing the actual flow allows pinpointing exactly where delays occur, offering concrete data for interventions. The ability to quantify these waiting times and identify critical activities is a differentiator of process mining compared to more qualitative approaches, providing an empirical basis for managerial decision-making.
In addition to temporal bottlenecks, the analysis evidenced the presence of review activities, such as “Start of technical execution (review)” and “Fiscal/legal approval (review)”, indicating the occurrence of rework in the process. Although the study did not identify significant repetitions of activities within the same large-scale project, the existence of these review steps as distinct activities in the event log demonstrates that the process incorporates rework cycles. These cycles are associated with the need for technical adjustments, additional validations, and corrections, which are inherent to the complexity of R&D projects and the regulatory requirements of the Lei do Bem. Rework, even if formalized as a “review” step, represents an additional cost in terms of time and resources, and may be an indicator of flaws in the quality of initial deliverables or in the clarity of requirements. This behavior is aligned with what is discussed by Santos and Portela (2023), who highlight the importance of traceability and quality control in the execution of organizational processes to mitigate the occurrence of rework. Lack of traceability can hinder the identification of the root cause of errors, while deficient quality control can allow defects to advance to later stages, making their correction more expensive.
The occurrence of rework in critical stages, such as fiscal/legal approval, suggests that initial information or deliverables may not be fully aligned with regulatory expectations or requirements, necessitating multiple interactions until compliance is achieved. In the context of R&D, where uncertainty is high, some level of rework may be inevitable and even beneficial to ensure quality and innovation. However, excessive unplanned rework is a symptom of inefficiency. Practical implications include the need to invest in training for teams on the requirements of the “Lei do Bem” (Law of Good), standardization of checklists and templates for documentary deliverables, and the implementation of peer reviews or prior validations to identify and correct problems before they become formal rework. The adoption of agile methodologies, which promote short feedback cycles and incremental deliveries, could also be explored to reduce the impact of rework, allowing for faster and less costly adjustments.
The analysis of transitions between activities also provided valuable insights, indicating relatively long times between consecutive stages. This finding suggests the existence of possible communication delays between the areas involved or a strong dependence on sequential validations. In an environment of complex projects like R&D, effective communication and interdepartmental coordination are crucial. Delays in transitions can be caused by inefficient “handoffs”, where the handover of one activity to another is not smooth, resulting in periods of inactivity or waiting. This can occur due to a lack of clarity in responsibilities, the absence of integrated systems that facilitate information sharing, or bottlenecks in the response capacity of certain teams. These characteristics contribute directly to the increase in the total project time, impacting the organization’s agility and ability to innovate quickly. The literature on process management, such as that of Hammer and Champy (1993), emphasizes that process reengineering often focuses on eliminating delays in transitions and integrating activities to optimize workflow.
The practical implications of this observation are multifaceted. Firstly, there is a clear opportunity for improvement in the integration of workflows, which can be achieved through the implementation of more robust project management systems, allowing for real-time tracking of activity status and automation of notifications between teams. Secondly, fostering a culture of open communication and cross-functional collaboration is essential. Workshops and training that encourage mutual understanding of each area’s requirements and challenges can reduce friction and delays in transitions. Furthermore, defining Service Level Agreements (SLAs) between the involved departments can establish clear expectations regarding response times and responsibilities, promoting efficiency. Optimizing transitions not only reduces overall project time but also improves team satisfaction and delivery quality by ensuring information flows continuously and without interruption.
Based on the identified bottlenecks and inefficiencies, a scenario optimization analysis was performed. This step involved simulating the reduction of execution time in critical activities, with a special focus on the approval and review stages. The simulation results indicated that reducing these times can generate relevant gains in the total project duration, with significant potential for improvement in operational efficiency and process agility. For example, a 10% decrease in the time for the three most time-consuming activities (Fiscal/Legal Approval, Document Review, and Technical Execution Start) could result in a substantial reduction in the total average project duration, freeing up resources and accelerating access to tax benefits. This type of predictive analysis is one of the great values of process mining, as it allows managers to test improvement hypotheses without the need for actual interventions, minimizing risks and costs associated with experimentation. The ability to quantify potential efficiency gains is crucial for justifying investments in automation, training, or process restructuring.
Process optimization is a vast field, and scenario simulation is a powerful tool for decision-making. The literature on business process optimization, such as Davenport’s (1993), often addresses the importance of identifying and eliminating waste and bottlenecks to improve organizational performance. Process mining, by providing empirical data on actual process behavior, serves as a solid foundation for these optimization initiatives. Practical implications include prioritizing improvement efforts on activities identified as critical, implementing pilot projects to test proposed changes, and creating a continuous improvement cycle, where processes are constantly monitored and adjusted based on data. The organization can consider automating repetitive tasks in the review and approval stages, implementing workflow systems that ensure compliance and agility, and investing in team training so they can perform activities more efficiently and with less rework.
Additionally, the study explored the application of a linear programming model for the selection of R&D projects, considering budget, time, and capacity constraints. This model allowed for the identification of the combination of projects that would maximize the expected fiscal benefit, demonstrating the potential of quantitative methods to support strategic decision-making. In a scenario where organizations frequently deal with multiple projects competing for limited resources, project selection is a critical decision that directly impacts the company’s innovation strategy and financial health. Linear programming offers a systematic and objective approach to this selection, overcoming the limitations of decisions based purely on intuition or subjective criteria. Maximizing fiscal benefit, within the context of the Lei do Bem (Law of Good), is a clear strategic objective, and the model demonstrated how it is possible to align project choices with this objective, optimizing the return on investment in R&D.
The robustness of the solutions proposed by the linear programming model was validated through the application of a heuristic approach based on Simulated Annealing. The use of a heuristic, especially in complex optimization problems with many variables and constraints, is a common practice to explore the solution space and confirm the consistency of the results. Simulated Annealing, inspired by the metal annealing process, is effective in searching for solutions close to the global optimum, even in scenarios with multiple local optima. The consistency of results between the two approaches (linear programming and heuristic) reinforces the reliability of the project selection recommendations. The literature on project portfolio optimization, such as that of Archer and Ghasemzadeh (1999), emphasizes the need for tools that assist managers in making informed decisions about which projects to fund, given the scarcity of resources. The practical implications are profound: the organization can adopt a more strategic and data-driven approach to managing its R&D portfolio, ensuring that selected projects not only generate innovation but also maximize tax benefits and align with operational capabilities. This leads to more efficient resource allocation, higher return on innovation investment, and a sustainable competitive advantage.
In general, the results of this study demonstrate that process mining, when integrated with statistical analysis and optimization techniques, offers an in-depth understanding of the real behavior of R&D projects. This multifaceted approach enabled the precise identification of bottlenecks, rework points, and concrete improvement opportunities. These findings are aligned with the research by Silva and Souza (2024), who highlight the transformative potential of process mining in improving the management of innovation projects. The ability to visualize the actual flow, quantify times, identify deviations, and simulate optimization scenarios allows organizations to move from reactive management to proactive and predictive management. Process mining is not just a diagnostic tool, but a catalyst for continuous improvement, providing the foundation for strategic and operational decision-making.
The implications for R&D project management incentivized by the Lei do Bem are significant. The increased transparency provided by process mining allows all stakeholders to have a clear view of project status and performance, facilitating communication and collaboration. Improved control of stages and early identification of problems allow for rapid interventions, minimizing delays and costs. Decision-making support, through performance analyses and optimization models, empowers managers to make more informed choices about resource allocation, project prioritization, and improvement strategies. In a competitive and regulated environment, such as innovation in Brazil, efficiency and compliance are imperative. Process mining is therefore positioned as a strategic tool for organizations seeking to maximize the use of Lei do Bem tax incentives, while simultaneously promoting a culture of efficient and sustainable innovation. The ability to transform raw data from corporate systems into actionable intelligence is the core of process mining’s value, enabling companies to optimize their workflows, reduce waste, and achieve their strategic innovation goals more effectively.
4. Conclusion
It is concluded that the objective was achieved, successfully applying Process Mining techniques to analyze the execution flow of Research, Development, and Innovation (RD&I) projects incentivized by the Lei do Bem and identify improvement opportunities. The study revealed critical bottlenecks in the fiscal/legal approval, document review, and technical execution initiation stages, in addition to evidencing rework occurrences. The average project duration, approximately 57.8 days, and temporal variability were quantified, revealing optimization opportunities. Scenario simulation and the application of linear programming models demonstrated the potential for efficiency gains and support for strategic decision-making in project selection, maximizing the expected fiscal benefit. Process Mining, therefore, proved to be a robust tool for increasing transparency, control, and efficiency in the management of these complex projects.
However, this study presents some important limitations. The analysis was based on a single dataset from a specific organization, which may limit the generalization of the results to other contexts. Furthermore, the opportunities for improvement were evaluated through simulations, without validation in a real implementation environment. For future studies, it is suggested to apply Process Mining in different organizations and sectors, allowing for a broader comparison and validation of the findings. It is also recommended to implement and monitor the proposed optimizations in a real environment, evaluating their effective impact on reducing times and costs. Integration with other technologies, such as artificial intelligence for bottleneck prediction, and a deeper investigation into the root causes of rework, also represent promising avenues for future research.
Bibliographic References
Aalst, W.M.P. van der. 2016. Process Mining: Data Science in Action. 2ed. Springer, Cham, Suíça.
Archer e Ghasemzadeh, 1999 [Referência completa não encontrada no documento original]
Brasil. 2005. Lei nº 11.196, de 21 de novembro de 2005. Dispõe sobre incentivos fiscais para a inovação tecnológica. Diário Oficial da União, Brasília, 22 nov. 2005. Seção 1.
Davenport, 1993 [Referência completa não encontrada no documento original]
Dumas, M.; La Rosa, M.; Mendling, J.; Reijers, H.A. 2018. Fundamentals of Business Process Management. Springer, Berlin, Alemanha.
Elaborado pelo autor, 2026 [Referência completa não encontrada no documento original]
Hammer e Champy, 1993 [Referência completa não encontrada no documento original]
Kerzner, 2017 [Referência completa não encontrada no documento original]
Nonaka e Takeuchi, 1995 [Referência completa não encontrada no documento original]
Pinto, 2016 [Referência completa não encontrada no documento original]
PM4Py Documentation. 2024. Process Mining for Python (PM4Py). Disponível em: https://pm4py.fit.fraunhofer.de. Acesso em: 10 mar. 2026.
Santos, E.A.P.; Portela, E. 2023. Mineração de processos e tomada de decisão organizacional. Revista de Métodos Numéricos em Engenharia.
Silva, J.A.; Souza, P.R. 2024. Aplicações da mineração de processos em projetos de inovação industrial. Revista Gestão e Produção 31(2).
Article originating from the Final Course Project of the Specialization in Project Management of the MBA USP/Esalq
To learn more about the course, click here and access the MBX Academy platform