SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

AI-driven Process Optimization: Run Machine Learning use cases in SAP Signavio leveraging SAP Build

Extend your process mining event log by applying machine learning algorithms to boost your analysis and derive smarter decisions.

Overview

🎓 beginner 60 min. SAP Signavio Process IntelligenceBeginnerSAP Business Application StudioSAP Build CodeSAP BuildOdataAPIMachine LearningPython

You will learn

  • โœ”How to activate the OData and Ingestion API in SAP Signavio Process Intelligence
  • โœ”Read event log data using the OData API of SAP Signavio Process Intelligence
  • โœ”Enrich the event log with machine learning algorithms with the python capabilities in SAP Build Code - Business Application Studio
  • โœ”Push the enriched event log back into SAP Signavio Process Intelligence
Hoang Vu H Hoang Vu March 26, 2025
Created by February 19, 2025
Contributors

Prerequisites

Steps

Intro

In this tutorial, I want to take you on a journey into the world of SAP Signavio Process Intelligence. We’ll explore how you can extend your event log, enrich it with machine learning algorithms, and seamlessly push back the updated event log into SAP Signavio Process Intelligence. The goal? To create a smarter, more proactive process management system.

Imagine this: You have a wealth of process mining data at your fingertips, but it’s static. What if you could predict outcomes and consume these predictions into your event log, transforming it into a dynamic, intelligent asset? That’s exactly what we’re going to do using SAP Build Code with its Python and Jupyter capabilities.

Example 1: Predicting Sales Order Delivery Times

One of the most powerful applications of this approach is predicting when a sales order will be delivered. By analyzing historical event logs, we can uncover patterns and trends that influence delivery times. Using machine learning algorithms, we can predict future delivery times based on various factors such as order size, product type, and current workload. These predictions are then fed back into the event log, providing real-time insights into expected delivery times. This not only helps in better planning but also improves customer satisfaction by setting accurate delivery expectations.

Example 2: Customer Satisfaction Prediction

Another fascinating example is predicting customer satisfaction with support tickets. By examining event logs, we can identify factors that impact satisfaction, such as cycle times, resolution speed, and communication quality. Machine learning models can then predict the likelihood of a customer being satisfied based on these factors. This predictive data is reintegrated into the event log, enabling support teams to proactively address potential dissatisfaction and improve the overall customer experience.

Why Is This Important?

The essence of leveraging machine learning algorithms on event log data lies in the proactive insights it generates. Static event logs offer valuable historical data, but by applying machine learning, we transform this data into a predictive powerhouse. This empowers businesses to anticipate challenges, optimize processes, and deliver superior outcomes. The ability to consume these predictions into the event logs ensures that the process intelligence is always up-to-date and actionable. In conclusion, extending your event log in SAP Signavio Process Intelligence with machine learning algorithms and reintegrating the predictions creates a smarter, more responsive process management system. Whether it’s predicting delivery times, customer satisfaction, or identifying bottlenecks, the possibilities are limited only by your imagination. So, let’s dive in and unlock the true potential of your process mining data with SAP Build Code and its Python and Jupyter capabilities.

An overview of the tutorial steps performed can be found below.

Overview
Overview

Step 1 Activate Ingestion API in SAP Signavio Process Intelligence
โ€”

  1. Firstly we need to activate the OData API and Ingestion API that allows us to retrieve and push data in and out of the system. We start with activating the Ingestion API.

  2. Logon to SAP Signavio where you will enter the SAP Signavio Collaboration Hub. On the top right corner, click on the dots-icon and select Process Intelligence.

    SAP Signavio Collaboration Hub
    SAP Signavio Collaboration Hub

  3. Once you have enter SAP Signavio Process Intelligence, you can click on Data Integration and create a new Source Data.

    SAP Signavio Process Intelligence
    SAP Signavio Process Intelligence

  4. You will find a list of all created source data in your system. As we want to create a new one, click on the create button on the right side.

    Create source data
    Create source data

  5. Here we need to provide a respective name and select as Connection Type Ingestion API. As I want to consume this API from SAP Build Code, I name the respective source data SAP Build Code.

    Source Data configuration
    Source Data configuration

  6. Once we have created the Source Data, we can view the respective Connection that was automatically created with it. To view this information, we click on Connection on the top right corner.

    Source Data and Connection
    Source Data and Connection

  7. You can view the details of the Connection that is linked to the Source Data. By clicking on it, you can view the details of the Connection.

    Connection details
    Connection details

  8. Here you can retrieve the details of the Connection itself. This includes the API endpoint that we will need to insert as URL from SAP Build Code and also the authentication mechanism using the token. Note down both infos as you will be using these in subsequent steps.

    Credentials
    Credentials

  9. You have successfully activated the Ingestion API. More information on how to activate the ingestion API and retrieve URL endpoint and API token can be found in the official Signavio documentation.

Step 2 Activate OData API in SAP Signavio Process Intelligence
+
Step 3 Setup Python and Jupyter in SAP Build Code
+
Step 4 Read event log data via OData API in SAP Build Code
+
Step 5 Enrich event log with machine learning algorithm in SAP Build Code
+
Step 6 Push enriched event log into SAP Signavio Process Intelligence from SAP Build Code
+
Step 7 Viewing and analyzing enriched event log in SAP Signavio Process Intelligence
+
Step 8 Conclusion
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 8
1. Activate Ingestion API in SAP Signavio Process Intelligence 2. Activate OData API in SAP Signavio Process Intelligence 3. Setup Python and Jupyter in SAP Build Code 4. Read event log data via OData API in SAP Build Code 5. Enrich event log with machine learning algorithm in SAP Build Code 6. Push enriched event log into SAP Signavio Process Intelligence from SAP Build Code 7. Viewing and analyzing enriched event log in SAP Signavio Process Intelligence 8. Conclusion

Learn more →