PyCelonis: Pushing new process models to analysis

Hey dear Celonis Community,

In my Company we have several production processes shown in one data model. Thats because we basically use the same data but the exact process differs on which product we are building. I’m thinking about creating a dashboard with our best performing process models (e.g. conformance check)
But i can only give one process model at a time to the analysis. So my idea is maybe i can automate it with python.

I want to do the following with an iteration over all our process models:

  1. pushthe process model to the analysis
  2. filter the data only to the requested process
  3. get for each process model some data back to python (for example: Percentage of correct processes, Top 5 Violations, Costs , Process Steps etc)

Is something like this possible? We are using an On-Premise Version and this would boost our process management because we could do a fast check over all our process models and find exactly the ones we need to adjust.

Thanks and a nice weekend
Daniel M.


A little Update to this qestion.

i found the following topic Python API: idea to provide access to conformance checking results

So in this way it seems to work with a petrinet. I’m now trying to develop something with which i can create these petrinets automatically. i would share it when i got a solution :slight_smile:

Our processes are hold in a database like:
Activity_ID, Activity Text, previous_activity_IDs

Hi DanielM,

I would be interested in your code as I can see a use case coming up here at APG where we would need/use this.

If you need to convert BPMN models to Petri nets, I guess there are some theoretical approaches available, e.g. papers, and one or two implementations in ProM (Java). That might help.

Hi Joosbuijs,

i created (my first) GIT on Github with the actual working notebook:

I’m able to create the Conformance Query with it.
The next step is to push it into Celonis and after that to iterate through all my process models and get some more informations out of it

So i don’t know if its interesting for you. But to handle the Conformance Checks better i created a package which u can install with pip install pn4pm-nano on your environment.

At the moment its able to handle inclusvie gateways. In the future i want to implement functions for handling exclusive gateways.

But the next function is around handling silent functions which are described in the process but not visible in the actual process. So maybe this helps you to get more productiv with some Conformance Checking Features.

1 Like